Magento 2.3.3 - JS not getting minified

Project in prodcution mode and js minified activate.

CSS minified working properly but not JS.



  • Can you explain what you have done to minify it and what makes you think it isn't being minified please? – Ben Crook Apr 2 '20 at 15:42
  • you enable the js minified in backend ?? – Mohit Patel Apr 2 '20 at 17:24

I'm not sure but maybe you could try this:

bin/magento config:set dev/css/merge_css_files 1
bin/magento config:set dev/css/minify_files 1

Reference with more information:


Magento 2 not minifying JS, CSS or HTML in Production Mode

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.