Skip to content

Commit a8246ba

Browse files
author
xujianhua
committed
配置优化
1 parent 2e28489 commit a8246ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vue.config.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* @Author: your name
33
* @Date: 2020-10-14 15:24:16
4-
* @LastEditTime: 2021-04-26 13:38:12
4+
* @LastEditTime: 2021-04-26 17:39:16
55
* @LastEditors: Please set LastEditors
66
* @Description: In User Settings Edit
77
* @FilePath: \vue3-element-admin\vue.config.js
@@ -39,7 +39,7 @@ module.exports = {
3939
}
4040
]);
4141
config.plugins.delete("prefetch");
42-
config.plugins.delete("preload");
42+
// config.plugins.delete("preload");
4343
// config.optimization.delete("splitChunks");
4444
},
4545

@@ -52,7 +52,7 @@ module.exports = {
5252
optimization: {
5353
splitChunks: {
5454
chunks: "all",
55-
enforceSizeThreshold: 20000,
55+
// enforceSizeThreshold: 20000,
5656
cacheGroups: {
5757
echarts: {
5858
name: "chunk-echarts",

0 commit comments

Comments
 (0)