2

I have enabled JS minification and Merging while in developer mode. Then i enabled production mode.

Cleared cache and ran below commands:

php bin/magento setup:upgrade

php bin/magento indexer:reindex

php bin/magento setup:di:compile

php bin/magento setup:static-content:deploy

but still i get 404 error for all JS files in console.

Magento still tries to look for Non-minified version of JS files!

Note: In developer mode everything works fine!

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.