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?

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

1 Answer 1

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

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.