0

I found a solution to minify javascript using the following link

https://gist.github.com/lewisp6/b7c50b4d82ef4d3d5d6dc888e8d1bdba

At what path should I place this script?

  • Minify js using gulpfile.js ? options in system configuration for minify js or css – Rk Rathod Mar 27 at 10:25
  • Yes, I did from admin configurations but in Gtmetrix it is showing to minify the js. I have inline javascript also. – chanchal Mar 27 at 10:37
  • check my answer – Rk Rathod Mar 27 at 10:39
0

Path of gulpfile.php

app/code/frontend/Vendor/theme/gulpfile.js

You Can Install Gulp and its Sass Preprocessor :-

Install Gulp and its Sass preprocessor

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.