1.0.2 • Published 6 years ago

multiple-html-webpack-plugin v1.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

How to use

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;

Options

plugins Array

Reference to your WebPack plugins variable

test string (dir path)

Path with RegExp for your html files