Coffee Script Redux loader for Webpack.
npm i -D coffee-redux-loader
var exportsOfFile = require("coffee-redux-loader!./file.coffee");
// => return exports of executed and compiled file.coffee
如果你想要在 node 运行环境中使用,不要忘了 polyfill require
。
请查看 webpack
文档。
Juho Vepsäläinen | Joshua Wiens | Kees Kluskens | Sean Larkin |