Browse Source

add some reposity

night-cherry 3 weeks ago
parent
commit
e9e66a8a40
1 changed files with 2 additions and 2 deletions
  1. 2 2
      webpack.config.js

+ 2 - 2
webpack.config.js

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