diff --git a/package.json b/package.json index a923848..31877a0 100644 --- a/package.json +++ b/package.json @@ -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",