grunt-closure-compiler
grunt-closure-compiler copied to clipboard
No support for closure-compiler NPM package
There is a NPM package for closure-compiler, which makes installing it much easier (npm install...).
This package installs the jar in node_modules/closure-compiler/lib/vendor/compiler.jar
Since the last directory is called vendor, but grunt-closure-compiler always expects "build", so it will never work.
Please provide support for the closure-compiler NPM package.
+1
There are already multiple pull requests and forks addressing this issue (e.g., https://github.com/ChadKillingsworth/grunt-closure-compiler/). Any chance to get an updated version published on npm?
+1
You can try my work.... looks like this repo isn't very active, so i've decide to make my own closure grunt plugin, but still working on it.
https://www.npmjs.com/package/grunt-google-closure-tools-compiler
I just took existing issues from existing grunt plugins and tried to solve them. I also got the problem that one plugin had a feature which another closure plugin did not have, eg a banner.
It's my first grunt plugin so it's still in development but it should work for most situations for now