We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c39a105 commit 8e4ff4dCopy full SHA for 8e4ff4d
src/node/build/build.ts
@@ -65,18 +65,20 @@ export async function build(
65
66
const pages = ['404.md', ...siteConfig.pages]
67
68
- for (const page of pages) {
69
- await renderPage(
70
- render,
71
- siteConfig,
72
- page,
73
- clientResult,
74
- appChunk,
75
- cssChunk,
76
- pageToHashMap,
77
- hashMapString
+ await Promise.all(
+ pages.map((page) =>
+ renderPage(
+ render,
+ siteConfig,
+ page,
+ clientResult,
+ appChunk,
+ cssChunk,
+ pageToHashMap,
78
+ hashMapString
79
+ )
80
)
- }
81
82
} catch (e) {
83
spinner.stopAndPersist({
84
symbol: failMark
0 commit comments