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
    Commented Oct 28, 2018 at 3:48
  • production mode Commented 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. Commented Oct 28, 2018 at 9:57

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.