Skip to content

Commit 68aa50e

Browse files
committed
updated webpack config
1 parent 5cbd11a commit 68aa50e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

extend.webpack.config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ module.exports = {
1515
// endDate: new Date('2020-3-01')
1616
// }
1717
runtime: {
18-
prefetchConfig: {
19-
// '4g': 0.15,
20-
// '3g': 0.3,
21-
// '2g': 0.45,
22-
// 'slow-2g': 0.6
23-
},
18+
// prefetchConfig: {
19+
// '4g': 0.15,
20+
// '3g': 0.3,
21+
// '2g': 0.45,
22+
// 'slow-2g': 0.6
23+
// },
2424
delegate: false
2525
},
2626
routeProvider() {

routes.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"/about": {
1212
"/": 20,
1313
"/media": 80,
14-
"/about/child": 30,
15-
"/about/child/a": 30,
16-
"/about/child/b": 5
14+
"/about/child": 2,
15+
"/about/child/a": 2,
16+
"/about/child/b": 1
1717
},
1818
"/media": {
1919
"/": 33,

0 commit comments

Comments
 (0)