Awesome
webmake-coffee
Develop CoffeeScript applications with Webmake
If you build browser applications, want to organize your code with NodeJS (CommonJS) style modules and you prefer to write them in CoffeeScript, pick Webmake and use this extension.
Installation
Install it aside of Webmake:
$ npm install webmake-coffee
If you use global installation of Webmake then extension also needs to be installed globally:
$ npm install -g webmake-coffee
Usage
When running Webmake ask to use webmake-coffee:
$ webmake --ext=coffee program.coffee bundle.js
Same way when Webmake is run programmatically:
webmake(inputPath, { ext: 'coffee' }, cb);
webmake-coffee can be used with any other Webmake extension, e.g.:
$ webmake --ext=coffee --ext=otherext program.coffee bundle.js
Programmatically:
webmake(inputPath, { ext: ['coffee', 'otherext'] }, cb);
Source Maps
Turn sourcemap option on if you want to benefit from source maps:
$ webmake --ext=coffee --sourcemap program.coffee bundle.js
Programmatically:
webmake(inputPath, { ext: 'coffee', sourceMap: true }, cb);
Caching
When running Webmake that's bound to server make sure to have caching turned on, then recompilation will be done to changed files only.
Tests
$ npm test