cancel
Showing results for 
Search instead for 
Did you mean: 

Minifying Js Files in pub/static folder in Deployment mode

Minifying Js Files in pub/static folder in Deployment mode

Hi All,


We have done GTmetrix test for site page speed and it shows Minify js as 0%, and all the js need to minify are from /pub/static folder.
Uploaded minify js files in pub/static files and increased the page speed, if we run static content deploy then all are regenerated with new files..and our page speed minify js is again down to 0%.

If we want to do js minification from magento admin side, it shows that minification will work only in production mode. And some forums tell that site is broken with js minification.
 
Can any one suggest a best solution for this..

Thanks,
sohorize.