node package manager


CoffeeScript filter for Broccoli


A CoffeeScript filter for Broccoli.

npm install --save-dev broccoli-coffee
var BroccoliCoffee = require('broccoli-coffee');
var outputNode = new BroccoliCoffee(inputNode, options);

All .coffee files (as well as .litcoffee and in inputNode will be replaced with compiled .js files in outputNode.

If bare is true, the CoffeeScript compiler will not emit a top-level function wrapper:

new BroccoliCoffee(node, {
  bare: true

Source maps are not yet supported.