This folder contains a toy project that compiles with the Closure Compiler in JS.
If you don't have it, run
npm install -g gulp.
Then, check out this repo, install the dependencies, and run the Gulp tool-
$ git clone https://github.com/google/closure-compiler-js.git $ cd closure-compiler-js/samples $ npm install $ gulp
This will generate an output file and source map inside
You can run the
output.min.js file with Node, or inside a browser.