Parcourir la source

webpack: config

Yi il y a 1 an
Parent
commit
149f0e36ae
3 fichiers modifiés avec 17894 ajouts et 693 suppressions
  1. 17171 1
      package-lock.json
  2. 9 0
      vue.config.js
  3. 714 692
      yarn.lock

Fichier diff supprimé car celui-ci est trop grand
+ 17171 - 1
package-lock.json


+ 9 - 0
vue.config.js

@@ -2,5 +2,14 @@ module.exports = {
   productionSourceMap: false,
   devServer: {
     proxy: process.env.VUE_APP_BASE_API
+  },
+  configureWebpack: {
+    optimization: {
+      minimize: true,
+      splitChunks: {
+        chunks: 'all',
+        maxSize: 20000
+      }
+    }
   }
 }

Fichier diff supprimé car celui-ci est trop grand
+ 714 - 692
yarn.lock


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff