0.1.16 • Published 6 years ago

rollup-plugin-coffee2 v0.1.16

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

rollup-plugin-coffee2 NPM version Build Status Coverage Status Dependency Status Gitter chat

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:

import coffee2 from 'rollup-plugin-coffee2';

export default {
  entry: 'index.js',
  plugins: [
    coffee2({
      // defaults
      bare:       true,
      extensions: ['.coffee', '.litcoffee'],
      version:    'auto'
      between )
      sourceMap:  true
    })
  ]
};

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

0.1.16

6 years ago

0.1.15

6 years ago

0.1.13

6 years ago

0.1.12

7 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago