dcodeio / grunt-closurecompiler Goto Github PK
View Code? Open in Web Editor NEWThe ClosureCompiler.js Grunt Task
Home Page: http://dcode.io
License: Apache License 2.0
The ClosureCompiler.js Grunt Task
Home Page: http://dcode.io
License: Apache License 2.0
Just noticed that the npm package is returning a 404. Was it removed from the npm registry?
Hello, in order to use the module option of closure, I wrote my task like this:
I found that's because the compile process didn't return a result, neither trigger an error. So I modified the file closurecompiler.js like this:
Then it work!
I suggest to check whether error is null there to support the module option.
Only the sources are reported
Hi, I just got started with Node and Grunt, so this might be a misunderstanding on my part. Please bear with me :)
I'm invoking grunt-closurecompiler from the gruntfile, and for some reason errors are not caught when I run grunt
, which reports no errors and exits with code 0
:
This is on Windows, with Oracle's Java. Is this an issue with grunt-closurecompiler
? Or do I have to do something to make it all fail if compilation has an error/warning? (I'd like it to fail on warnings too).
Thank you in advance.
It would be awesome to have your script also in Gulp.
Any plans for that?
Grunt 1.0.1 was released 2016-04-05.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.