1

Magento 2.3.3 - JS not getting minified

Project in prodcution mode and js minified activate.

CSS minified working properly but not JS.

https://snipboard.io/RZwqmC.jpg

Thanks

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

1 Answer 1

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:

https://community.magento.com/t5/Magento-2-x-Admin-Configuration/Merged-JS-and-CSS-do-not-work-when-Production-mode/td-p/32023

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 that you have read and understand our privacy policy and code of conduct.

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