rollup-plugin-caffeinate
Integration between Rollup and CoffeeScript 2.
Why?
Allow CoffeeScript code to be included in Rollup bundles without introducing an additional build step.
Installation
npm install --save-dev rollup-plugin-caffeinate
Usage
// rollup.config.js input: 'main.coffee' plugins:
The plugin accepts options.include
and options.exclude
(each a minimatch pattern, or array of minimatch patterns) to determine which files are compiled by CoffeeScript. By default, all .coffee
files are transpiled.