|
@@ -49,8 +49,11 @@ module.exports = {
|
49
|
49
|
}
|
50
|
50
|
},
|
51
|
51
|
chainWebpack(config) {
|
52
|
|
- config.plugins.delete('preload') // TODO: need test
|
53
|
|
- config.plugins.delete('prefetch') // TODO: need test
|
|
52
|
+ // it can improve the speed of the first screen, it is recommended to turn on preload
|
|
53
|
+ // config.plugins.delete('preload')
|
|
54
|
+
|
|
55
|
+ // when there are many pages, it will cause too many meaningless requests
|
|
56
|
+ config.plugins.delete('prefetch')
|
54
|
57
|
|
55
|
58
|
// set svg-sprite-loader
|
56
|
59
|
config.module
|