grunt-closure-compiler icon indicating copy to clipboard operation
grunt-closure-compiler copied to clipboard

No support for closure-compiler NPM package

Open edwinm opened this issue 9 years ago • 3 comments

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.

edwinm avatar Jun 24 '15 20:06 edwinm

+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?

vsa avatar Aug 11 '15 10:08 vsa

+1

andrewplummer avatar Sep 28 '15 07:09 andrewplummer

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

Zerogiven avatar Dec 18 '15 01:12 Zerogiven