optimizer-coffee
This Node.js module is a plugin for the RaptorJS Optimizer, that provides support to precompile Coffee Script files with the .coffee
extension into JavaScript.
Install
$ npm install --save optimizer-coffee
Usage
In your dependencies list in optimizer.json
, just go ahead and list all your source .coffee files
"main.coffee" "about.coffee" ...
And add optimizer-coffee
as the required plugin in optimizer-config.json
"plugins": "optimizer-coffee" ... ...