digo-coffee-script
digo 插件:使用 coffeescript 编译 CoffeeScript
Last updated 4 years ago by teal .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install digo-coffee-script 
SYNC missed versions from official npm registry.

# 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/

Current Tags

  • 0.1.0                                ...           latest (3 years ago)

3 Versions

  • 0.1.0                                ...           3 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |