Excluding files from minification

Certain files can cause issues when being minified and you want to exclude them from minification. 

See the related article for instructions on how to exclude files.

Some reasons you might want to exclude files from being minified are: 

  • Trying to minify an already minified Javascript file 
  • Javascript which isn't coded nicely (eg. not using semi-colons and instead relying on implied linebreaks for functionality - read more
  • Using another Javascript library in addition to Magento's prototype library (eg. Jquery)

Still need help? Contact Us Contact Us