coffee-loader

coffee loader module for webpack

coffee-script loader for webpack

var exportsOfFile = require("coffee!./file.coffee");
// => return exports of executed and compiled file.coffee 
 
var exportsOfFile2 = require("coffee?literate!./file.litcoffee");
// can also compile literate files. 

Documentation: Using loaders

{
module: {
loaders: [
{ test: /\.coffee$/, loader: "coffee-loader" },
{ test: /\.(coffee\.md|litcoffee)$/, loader: "coffee-loader?literate" }
]
}
}

MIT (http://www.opensource.org/licenses/mit-license.php)