night-cherry 3 долоо хоног өмнө
parent
commit
bdcbd699a3
1 өөрчлөгдсөн 6 нэмэгдсэн , 6 устгасан
  1. 6 6
      webpack.config.js

+ 6 - 6
webpack.config.js

@@ -89,12 +89,12 @@ module.exports={
       chunks: 'all',
       minSize: 20000,
       cacheGroups: {
-        // vendors: {
-        //   test: /[\\/]node_modules[\\/]/,
-        //   priority: -10,
-        //   reuseExistingChunk: true,
-        //   name: 'vendors'
-        // }
+        index: {
+          test: /[\\/]node_modules[\\/]/,
+          priority: -10,
+          reuseExistingChunk: true,
+          name: 'index'
+        }
       }
     }
   }