extract chunks as webpack plugin 提取编译后的chunk分支
npm install extract-chunks-webpack-plugin> Note: that extract-chunks-webpack-plugin supports webpack3-
``bash`
$ git@github.com:fengxinming/extract-chunks-webpack-plugin.git
$ cd extract-chunks-webpack-plugin
$ cnpm install
`bash``
plugins: [
new webpack.optimize.ModuleConcatenationPlugin(),
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
new ExtractChunks({
filename: path.join(process.cwd(), 'tmp', 'chunks.json')
})
],