The currently supported webpack versions are 2.x, 3.x, 4.x, 5.x
npm install webpack-ipfilter-pluginThe currently supported webpack versions are 2.x, 3.x, 4.x, 5.x
js
// Taking webpack4 as an example
const {Webpack_4_IpFilterPlugin} = require('webpack-ipfilter-plugin');
const webpack_config = {
... plugins: [
new Webpack_4_IpFilterPlugin(),
...
]
}
``