require("micro-template!./file.html");
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" }
]
}
}