broccoli-coffee

CoffeeScript filter for Broccoli

broccoli-coffee

A CoffeeScript filter for Broccoli.

npm install --save-dev broccoli-coffee
var filterCoffeeScript = require('broccoli-coffee');
tree = filterCoffeeScript(tree, options);

All .coffee files (as well as .litcoffee and .coffee.md) will be replaced with compiled .js files.

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

filterCoffeeScript(tree, {
  bare: true
})

Source maps are not yet supported.