/html-webpack-remove-plugin

정규표현식으로 해당 문구를 삭제하는 웹팩 플러그인

Primary LanguageJavaScript

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 ()
]  

License

MIT