micro-template-loader
v0.1.4
Published
A webpack loader which pre-compiles John Resig's micro-templates
Downloads
604
Readme
micro-template loader
Usage
Simple API
require("micro-template!./file.html");
Recommended configuration
You should be able to safely pass all your HTML files through micro-template
even if your templates don't have any <% %>
tags.
{
module: {
loaders: [
{ test: /\.html$/, loader: "micro-template" }
]
}
}