feat(build): bind client artifacts to build profiles

This commit is contained in:
imccyu
2026-08-19 18:21:27 +08:00
parent 93cbb3799d
commit 66a7081c15
24 changed files with 533 additions and 39 deletions
+2 -1
View File
@@ -17,7 +17,8 @@
"website"
],
"scripts": {
"build": "npm run build:lib && npm run build:web",
"build": "tsx scripts/build.ts",
"build:official": "tsx scripts/build.ts --profile official",
"build:lib": "npm run build:lib:host && npm run build:lib:client",
"build:lib:host": "tsc -b tsconfig.host.json && tsdown --env.DSH_BUILD_FACE host",
"build:lib:client": "tsc -b tsconfig.client.json && tsdown --env.DSH_BUILD_FACE client",