is currently nibbling on the webpack
introductory tutorial. However, the download is webpack4
. It is said that it is quite different from the current mainstream webpack3
, such as ides/caching/" rel=" nofollow noreferrer "Caching , in which there is an example:
+ new webpack.optimize.CommonsChunkPlugin({
+ name: "vendor"
+ }),
new webpack.optimize.CommonsChunkPlugin({
name: "manifest"
})
I know how to configure it alone, but when I have more than one, I don"t know how to do it.
optimization: {
splitChunks: {
name: "manifest"
}
},
There are also a lot of questions on sokra/RIP CommonsChunkPlugin.md .
Thank you.