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

asked Apr 2, 2020 at 15:25
2
  • Can you explain what you have done to minify it and what makes you think it isn't being minified please? Commented Apr 2, 2020 at 15:42
  • you enable the js minified in backend ?? Commented 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

BartZalas
1,79713 silver badges23 bronze badges
answered Apr 2, 2020 at 17:34

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.