Skip to content

Commit 7181541

Browse files
committed
chore
1 parent cadc83a commit 7181541

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,13 @@ function generateWebpackCallback(finishOutputFunc) {
241241

242242
async function build() {
243243
await deleteOldDir()
244-
if (isProduction && !isAnalyzing)
244+
if (isProduction && !isAnalyzing) {
245245
await runWebpack(
246246
true,
247247
generateWebpackCallback(() => finishOutput('-without-katex')),
248248
)
249-
await new Promise((r) => setTimeout(r, 2000))
249+
await new Promise((r) => setTimeout(r, 2000))
250+
}
250251
await runWebpack(
251252
false,
252253
generateWebpackCallback(() => finishOutput('')),

0 commit comments

Comments
 (0)