wmlgl-webpack-dist-replace-plugin
v1.0.2-b3
Published
replace your webpack dist content.
Downloads
6
Readme
webpack-dist-replace-plugin
replace your webpack dist content.
Install
npm install wmlgl-webpack-dist-replace-plugin --save-dev
Usage
const DistReplacePlugin = require('wmlgl-webpack-dist-replace-plugin');
module.exports = {
plugins: [
new DistReplacePlugin({
test: /[.]js$/,
replace: content => content.replace('hello','world')
})
],
......
}