Miss any of our Open RFC calls?Watch the recordings here! »

digo-coffee-script

0.1.0 • Public • Published

# digo-coffee-script digo 插件:使用 coffeescript 编译 CoffeeScript。

安装

npm install digo-coffee-script -g

用法

编译 CoffeeScript 并重命名为 JS

digo.src("*.coffee").pipe("digo-coffee-script");

源映射(Source Map)

本插件支持生成源映射,详见 源映射

选项

digo.src("*.coffee").pipe("digo-coffee-script", {
    bare: false,
    header: false,
    literate: false,
    filename: "",
    sourceMap: "",
    sourceRoot: false,
    generatedFile: "",
    sourceFiles: [""]
    // 选项...
});

另参考: https://github.com/jashkenas/coffeescript/

Install

npm i digo-coffee-script

DownloadsWeekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • avatar