I have tried almost every single thing there were some errors in system.log file i have also removed that , gave so much time to solve this issue . i want to minify and merged js . i set developer mode and select options using store->configuration->advance->developer nothing changed in my site i did run all commands upgrade, content deply , di compile , cache flush everything . gave permissions and all but still no good luck . can anyone give me some good trick ?
Js minification can be done only in production mode. Please change store configurations in developer mode, run all commands and set to production mode to check JS merging and minification.
1.Set Yes for JS merging and minification in
store->configuration->advance->developer in developer mode
- cache flush
4.Set to production mode using command
bin/magento deploy:mode:set production
Now JS merging and minification will work