Simple example of using Google Closure Compiler to consume and compile CJS modules
Installing
After cloning, run:
npm install
Building
With SIMPLE optimizations:
npm run build-simple
With ADVANCED optimizations:
npm run build-advanced
Checking it works
Run:
npm run exec
Should print:
Hey, Jack! Camel case looks like this: fooBar