Skip to content

Commit b42c020

Browse files
committed
fix: #182
1 parent a4a3941 commit b42c020

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docs/更新日志.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
- **Fix**
1010

11-
- 🐞 修复初始化模板 menu 参数类型错误的问题。
11+
- 🐞 修复路由过多时导致预渲染编译超时的问题。[issue](https://github.com/MuYunyun/create-react-doc/issues/182)
12+
- 🐞 修复初始化模板 menu 参数类型错误的问题。[mr](https://github.com/MuYunyun/create-react-doc/pull/181)
1213

1314
### 1.3.4
1415

packages/scripts/src/conf/webpack.config.prod.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ module.exports = function (cmd) {
189189
// Routes are rendered asynchronously.
190190
// Use this to limit the number of routes rendered in parallel.
191191
maxConcurrentRoutes: 4,
192+
// https://pptr.dev/#?product=Puppeteer&version=v5.5.0&show=api-pagegotourl-options
193+
navigationOptions: {
194+
timeout: 0
195+
}
192196
}),
193197
}),
194198
])

0 commit comments

Comments
 (0)