Skip to content

medikoo/webmake-coffee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Full support for Source Maps

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 Build Status

$ npm test

About

Develop CoffeeScript applications with Webmake

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published