var exportsOfFile = require("coffee!./file.coffee");
// => return exports of executed and compiled file.coffee
Don't forget to polyfill require
if you want to use it in node.
See webpack
documentation.
var exportsOfFile = require("coffee!./file.coffee");
// => return exports of executed and compiled file.coffee
Don't forget to polyfill require
if you want to use it in node.
See webpack
documentation.