This is a webpack plugin for Babili.
Babili - A babel based minifier - https://github.com/babel/babili
This might NOT be the best way to use babili. You can also use it with babel-loader for webpack (include
babili in list of presets) and should be faster than using this. Further info - #8.
npm install babili-webpack-plugin --save-dev
// webpack.config.jsconst BabiliPlugin = ;moduleexports =entry: //...,output: //...,plugins:options
test: JS file extension regex. Default:
comments: Preserve Comments. Default:
/@preserve|@license/. falsy value to remove all comments. Accepts function, object with property test (regex), and values.
sourceMap: Default: uses webpackConfig.devtool. Set this to override that.