I've configured pipeline as follows:
STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
'pipeline.finders.PipelineFinder',
)
# Static files storage
STATICFILES_STORAGE = 'pipeline.storage.PipelineStorage'
# Pipeline JS compressor
PIPELINE_JS_COMPRESSOR = 'pipeline.compressors.jsmin.JSMinCompressor'
PIPELINE_JS = {
'website-main': {
'source_filenames': (
'shared/jquery/jquery-1.10.2.min.js',
'shared/bootstrap/js/bootstrap.min.js',
'shared/jquery/jquery.cookie.js',
),
'output_filename': 'pipeline-compressed/website-main.js',
}
}
When I use {% compressed_js 'website-main' %}
in my template I get a script tag for each of the 3 files configured in PIPELINE_JS
. Shouldn't I see a single script tag with src="pipeline-compressed/website-main.js"
.