Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 586 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 586 Bytes

gobble-coffee

Compile CoffeeScript files with gobble. Creates sourcemaps automatically.

Installation

First, you need to have gobble installed - see the gobble readme for details. Then,

npm i -D gobble-coffee

Usage

gobblefile.js

var gobble = require( 'gobble' );
module.exports = gobble( 'src' ).transform( 'coffee', options );

The options argument, if specified, is passed to CoffeeScript. If you don't want to create sourcemaps, pass sourceMaps: false.

License

MIT. Copyright 2014 Rich Harris