Google closure compiler usage WebStorm

2019-06-22 08:16发布

问题:

I like to use the Google Closure Compiler in WebStorm. I've downloaded it over npm.

npm install closure

Never really used node and i don't know how to execute the commandline. Please do not blame me. Knowledge don't came from nowhere and this question is programming related.

回答1:

You have to put the path to the Closure compiler .jar there, the default arguments which phpstorm gives you are fine.

I did not install closure compiler via node.js, but I did it with coffeescript and it should be somewhere in the npm folder.