This Plugin inherited html-webpack-plugin Plugin and make it easy to extend, include and replace your html files
webpack.config.js
...
const MultipleHtmlWebpackPlugin = require('multiple-html-webpack-plugin');
...
let config = {
...
}
new MultipleHtmlWebpackPlugin({
plugins: config.plugins,
test: './src/tpl/*.tpl.html'
});
// Export Module
module.exports = config;
plugins [Array]
Reference to your WebPack plugins
variable
test [string (dir path)]
Path with RegExp for your html files