谷歌关闭编译器使用WebStorm

MR.*_*ABC 5 javascript google-closure-compiler phpstorm webstorm

我喜欢在WebStorm中使用Google Closure Compiler.我已经下载了npm.

npm install closure
Run Code Online (Sandbox Code Playgroud)

从未真正使用过节点,我不知道如何执行命令行.请不要怪我.知识不是来自任何地方,这个问题与编程相关.

在此输入图像描述

小智 4

你必须把 Closure 编译器 .jar 的路径放在那里,phpstorm 给你的默认参数就可以了。

我没有通过node.js安装闭包编译器,但我用coffeescript安装了它,它应该位于npm文件夹中的某个位置。