Détail du package

gobble-coffee

gobblejs13MIT0.2.1

Compile CoffeeScript files with gobble

gobble

readme

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

changelog

changelog

0.2.1

  • Sourcemaps can be disabled with sourceMap: false

0.2.0

  • Support for sourcemaps. This version requires gobble 0.6.0 or higher

0.1.0

  • First release