From 8d3c9c9bdeac1d4c20dc75c92422fe07c3bd7827 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Mon, 19 Aug 2024 21:21:30 +0800 Subject: [PATCH] chore: update pkg --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f96ecede4..de4aa69ee 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "tsc": "tsc --noEmit", "vue-tsc": "vue-tsc --noEmit", "site": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build site --base=https://next.antdv.com/", - "build-site": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build site", + "build-site": "npm run presite && node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build site", "pub:site": "npm run site && node site/scripts/pushToOSS.js", "prepare": "husky install", "version": "node ./scripts/generate-version",