micro-template-loader
0.1.4 • Public • Published micro-template loader
Usage
Documentation: Using loaders
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" }
]
}
}
Package Sidebar
Install
npm i micro-template-loader
Weekly Downloads