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
    Commented Apr 2, 2020 at 15:42
  • you enable the js minified in backend ?? Commented Apr 2, 2020 at 17:24

1 Answer 1


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 and acknowledge you have read our privacy policy.

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