Skip to content

Commit 594cc17

Browse files
committed
perf: test prefetch
1 parent ccc62c8 commit 594cc17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vue.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ module.exports = {
1717
outputDir: 'docs',
1818
productionSourceMap: false,
1919
chainWebpack(config) {
20+
// when there are many pages, it will cause too many meaningless requests
21+
config.plugins.delete('prefetch')
2022
// set svg-sprite-loader
2123
config.module
2224
.rule('svg')

0 commit comments

Comments
 (0)