8. Januar 2010 by Thibault D
Diem minify javascript files automatically, and merge them into one file, which is compressed with gzip.
This is a good thing.
But some javascript libraries don't support compression, like jquery.lightbox-0.5.js.
In this case you may disable all javascript minification in config/dm/config.yml
all:
js:
compress: false
But it's a bad solution: none of your javascript files is minified anymore.
The better solution is to disable minification only for jquery.lightbox-0.5.js.
This can be done by configuring the javascript_compressor service.
config/dm/services.yml
parameters:
javascript_compressor.options:
black_list: [ jquery.lightbox-0.5.js ]
Then clear the cache, and all the javascript files are minified, excepted this one.