Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 610 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 610 Bytes

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" }
    ]
  }
}