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