Integration between Rollup and CoffeeScript 2.
Allow CoffeeScript code to be included in Rollup bundles without introducing an additional build step.
npm install --save-dev rollup-plugin-coffee-script
// rollup.config.js;input: 'main.coffee'plugins:
CoffeeScript plugin accepts
options.exclude (each a
minimatch pattern, or array of minimatch patterns) to determine which files are
compiled by CoffeeScript. By default, all files are transpiled.
Integration with CommonJS modules
The CoffeeScript plugin doesn't resolve requires. Instead,
rollup-plugin-commonjs and add
.coffee to extensions.