config.optimization.SplitChunkPlugin的正確配置應(yīng)該是怎樣的?自己配置出來(lái)的app.js和vendor.js的大小不對(duì)
config.optimization={ ????splitChunks:?{ ????????cacheGroups:?{ ????????????vendors:?{ ????????????????name:?'vendor', ????????????} ????????} ????} }
? ? ? ? ? ? ? Asset? ? ? ?????Size? ????????????Chunks? ? ? ? ? ? ? ? ? ? ? ? ?Chunk Names
? ? app.e8019b78.js? ?73.7 KiB? ? ? ?????0? [emitted] [immutable]? app
? ? ? ? ? ? ?????????bg.jpg? ?82.6 KiB? ? ? ? ? ????[emitted]
? ? ? ? ????? index.html? ?303 bytes? ? ? ? ? ??[emitted]
styles.3ae8a7d8.css? ?5.31 KiB? ? ? ???? 0? [emitted]? ? ? ? ? ? ? ????????app
?vendor.ffab46c4.js? ?68.9 KiB? ? ? ?????1? [emitted] [immutable]? vendor