I tried below step to merge and minify js and css
bin/magento setup:upgrade
bin/magento indexer:reindex
bin/magento deploy:mode:set production -s
php bin/magento setup:di:compile-multi-tenant
bin/magento setup:static-content:deploy
when I open the website in browser along with merged file I can see all other js file also loading
please help me out
in admin side
Enable Javascript Bundling :- Yes
Merge JavaScript Files :- Yes.
Minify JavaScript Files :- Yes
Best Answer
You can't cleared the static files. I'm not quite sure if setup static:deploy does that (I never use it for changes like this)
And also, perhaps developer mode would help? php bin/magento deploy:mode:set developer
I'd try deleting the static & var folders Remove pub/static Remove var/cache Remove var/composer_home Remove var/generation Remove var/page_cache Remove var/view_preprocessed