night-cherry 3 settimane fa
parent
commit
e9e66a8a40
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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'
         }
       }
     }