【CommonsChunkPlugin】
The CommonsChunkPlugin
is an opt-in feature that creates a separate file (known as a chunk), consisting of common modules shared between multiple entry points.
1、name: string, or
names: string[]
The chunk name of the commons chunk.
参考:
1、https://webpack.js.org/plugins/commons-chunk-plugin/#move-common-modules-into-the-parent-chunk
时间: 2024-11-08 07:59:22