用途说明
MinChunkSizePlugin (最小值代码块插件)
根据chars大小,如果小于设定的最小值,就合并这些小模块,以减少文件的大小
Merge small chunks that are lower than this min size (in chars). Size is approximated.
options.minChunkSize
(number) chunks smaller than this number will be merged
webpack.config.js配置
|
|
案例
|