1.0.2-b3 • Published 2 months ago

wmlgl-webpack-dist-replace-plugin v1.0.2-b3

Weekly downloads
-
License
-
Repository
github
Last release
2 months ago

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')
        })
    ],

    ......
}
1.0.2-b3

2 months ago

1.0.2-b2

2 months ago

1.0.2-b1

2 months ago

1.0.2-b

2 months ago