html-webpack-remove-plugin
Enhances html-webpack-plugin
functionality by adding the {remove: 'regex'}
option.
Installation
Use the package manager npm
to install html-webpack-remove-plugin.
$ npm install --save-dev html-webpack-remove-plugin
Basic Usage
Require the plugin in your webpack config:
var HtmlWebpackRemovePlugin = require('html-webpack-remove-plugin');
Add the plugin to your webpack config:
plugins: [
new HtmlWebpackPlugin({
remove: 'Regex expression'
}),
new HtmlWebpackRemovePlugin ()
]