earlgrey-loader
v0.2.5
Published
Earl Grey loader module for webpack
Downloads
19
Readme
Usage
var exportsOfFile = require("earlgrey!./file.eg");
// => return exports of executed and compiled file.eg
Recommended configuration
JavaScript
{
module: {
loaders: [
{ test: /\.eg$/, loader: "earlgrey-loader" }
]
}
}
Earl Grey
Usable when run via node.js api in Earl Grey.
config = {
module = {
{
test = R"\.eg$"
loader = "earlgrey-loader"
}
}
}
License
MIT © Jake Russo et al