From c089550b1ee7743908d9db17344bbd75c5829b85 Mon Sep 17 00:00:00 2001 From: josc146 Date: Sat, 4 Nov 2023 17:12:03 +0800 Subject: [PATCH] chore --- build.mjs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/build.mjs b/build.mjs index 0baf44fb5..932ac6634 100644 --- a/build.mjs +++ b/build.mjs @@ -298,18 +298,18 @@ function generateWebpackCallback(finishOutputFunc) { async function build() { await deleteOldDir() if (isProduction && !isAnalyzing) { - await runWebpack( - true, - false, - generateWebpackCallback(() => finishOutput('-without-katex')), - ) - await new Promise((r) => setTimeout(r, 5000)) + // await runWebpack( + // true, + // false, + // generateWebpackCallback(() => finishOutput('-without-katex')), + // ) + // await new Promise((r) => setTimeout(r, 5000)) await runWebpack( true, true, generateWebpackCallback(() => finishOutput('-without-katex-and-tiktoken')), ) - await new Promise((r) => setTimeout(r, 5000)) + await new Promise((r) => setTimeout(r, 10000)) } await runWebpack( false,