mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-09-30 11:23:26 +08:00
chore
This commit is contained in:
1 parent
8793fa5fde
commit
efceab97ee
1 file changed
+3
-2
@@ -241,12 +241,13 @@ function generateWebpackCallback(finishOutputFunc) {
|
||||
|
||||
async function build() {
|
||||
await deleteOldDir()
|
||||
if (isProduction && !isAnalyzing)
|
||||
if (isProduction && !isAnalyzing) {
|
||||
await runWebpack(
|
||||
true,
|
||||
generateWebpackCallback(() => finishOutput('-without-katex')),
|
||||
)
|
||||
await new Promise((r) => setTimeout(r, 2000))
|
||||
await new Promise((r) => setTimeout(r, 2000))
|
||||
}
|
||||
await runWebpack(
|
||||
false,
|
||||
generateWebpackCallback(() => finishOutput('')),
|
||||
|
||||
Reference in new issue
Block a user