一覧へ戻る
zeekay/rollup-plugin-coffee(新しいタブで開きます)
主要言語: CoffeeScript
- star 数
- 9
- watcher 数
- 0
- fork 数
- 1
- issue 数
- 2
- 最終更新
- 2026/09/16
主要言語: CoffeeScript
A Rollup.js plugin that compiles CoffeeScript. Uses
find-coffee to locate the proper
version of CoffeeScript.
$ npm install @zeekay/rollup-plugin-coffee --save-dev
Add the following code to your project's rollup.config.js:
import coffee from '@zeekay/rollup-plugin-coffee'; export default { entry: 'index.js', plugins: [ coffee({ // defaults bare: true, extensions: ['.coffee', '.litcoffee'], version: 'auto', 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).
MIT