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.
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
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);
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);
When running Webmake that's bound to server make sure to have caching turned on, then recompilation will be done to changed files only.
$ npm test