1.0.2-b3 • Published 1 year ago

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

Weekly downloads
-
License
-
Repository
github
Last release
1 year 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

1 year ago

1.0.2-b2

1 year ago

1.0.2-b1

1 year ago

1.0.2-b

1 year ago