rollup-plugin-coffee2
A Rollup.js plugin that compiles CoffeeScript 2 (and 1).
Install
$ npm install rollup-plugin-coffee2 --save-dev
Usage
Add the following code to your project's rollup.config.js
:
; entry: 'index.js' plugins: ;
By default this plugin will use any version of CoffeeScript available, trying to use 2.0 and falling back to 1.0 if necessary.
You can specify version: 1
or version: 2
to ensure a certain version is used
(or error if it's unavailable).
License
MIT