0

I enabled the setting to minify and merge JS & CSS. When I run static-content:deploy it does generate files with a .min.(css|js) appendage and the file contents are minified.

However, when I load either front end or adminhtml, it is requesting the none minified files.

Anyone know why it’s doing it?

Thanks

2
  • which mode you are using ?
    – Pawan
    Oct 28, 2018 at 3:48
  • production mode Oct 28, 2018 at 9:50

1 Answer 1

0

You need also flush cache after this.

php bin/magento c:f
1
  • Did that. It's also a completely fresh server instance & installation from composer. Oct 28, 2018 at 9:57

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.