是否可以將'index.coffee'文件掛鉤爲Yeoman生成器的入口點?Yeoman發生器CoffeeScript入口點
'generator-generator'生成器創建'index.js'文件。用'index.coffee'替換它隱藏了Yeoman的生成器。
我查看了文檔,找不到任何提及。
https://github.com/yeoman/yeoman/wiki/Generators
我發現約曼的真的老叉子似乎有這樣的計劃:
https://github.com/mklabs/yeoman/wiki/generators
暫時我設置的是我的編譯CoffeeScript的文件到一個觀察者JavaScript的。
不錯的工作移植髮電機組。小心打開github中的問題?有幾個想法。 – hurrymaplelad
@hurrymaplelad謝謝!當然,只需打開它們即可[ – tuxracer
[從CoffeeScript 1.7開始](https://github.com/jashkenas/coffeescript/issues/3349#issuecomment-34015414)],您必須'require('coffee-script/register')'加載compliler – rmosolgo