night-cherry 3 settimane fa
parent
commit
d4a6310208
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      webpack.config.js

+ 1 - 1
webpack.config.js

@@ -86,7 +86,7 @@ module.exports={
   // 优化配置(如代码拆分)
   optimization: {
     splitChunks: {
-      chunks: 'all',
+      chunks: 'index',
       minSize: 20000,
       cacheGroups: {
         vendors: {