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