Skip to content

joliss/broccoli-coffee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

broccoli-coffee

Build Status

A CoffeeScript filter for Broccoli.

Installation

npm install --save-dev broccoli-coffee

Usage

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

All .coffee files (as well as .litcoffee and .coffee.md) in inputNode will be replaced with compiled .js files in outputNode. All other files will be passed through unchanged.

Options

bare

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

new BroccoliCoffee(node, {
  bare: true
})

Source Maps

Source maps are not yet supported.

About

CoffeeScript preprocessor for Broccoli

Resources

License

Stars

Watchers

Forks

Packages

No packages published