fix: tsdown watch (#8813)

closes #8791
This commit is contained in:
Aaron 2026-03-27 17:29:55 +07:00 committed by GitHub
parent 130ba5ee6c
commit 97b4abd693
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 351 additions and 398 deletions

View file

@ -9,15 +9,12 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
".": "./dist/index.js",
"./package.json": "./package.json"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"dev": "tsdown --watch --no-clean",
"check:lint": "oxlint --max-warnings=4 .",
"check:types": "tsc --noEmit",
"check:format": "oxfmt --check .",

View file

@ -5,4 +5,5 @@ export default defineConfig({
format: ["esm"],
dts: true,
platform: "neutral",
exports: true,
});