fix(build): make cleanup command cross-platform

This commit is contained in:
lx
2026-08-23 03:26:25 +08:00
parent 57a4ad82e1
commit b87f263c09
+1 -1
View File
@@ -72,7 +72,7 @@
"LICENSE"
],
"scripts": {
"build": "rm -rf lib && tsc -p tsconfig.build.json && tsdown",
"build": "node -e \"require('node:fs').rmSync('lib',{recursive:true,force:true})\" && tsc -p tsconfig.build.json && tsdown",
"prepublishOnly": "pnpm build",
"typecheck": "tsc --noEmit",
"bundle": "tsdown",