mustache2js-loader
v1.0.8
Published
Loads mustache files as javascript functions
Downloads
17
Maintainers
Readme
mustache2js-loader
Exports Mustache files to javascript instructions.
Install
npm i -D mustache2js-loader
Usage
Add the mustache2js-loader to your webpack.config.js.
{
test: /\.html$/,
use: {
loader: 'mustache2js-loader',
options: {}
}
}
I you just need to load static html snippets, try: html2js-loader