chore(node-utils): migrate build to tsdown

This commit is contained in:
xingyu4j
2026-03-15 19:40:09 +08:00
parent c1b1fe90fd
commit a1ca296fc0
7 changed files with 69 additions and 17 deletions

View File

@@ -12,7 +12,8 @@
"license": "MIT",
"type": "module",
"scripts": {
"stub": "pnpm unbuild --stub"
"build": "node ./scripts/build.mjs",
"stub": "node ./scripts/build.mjs"
},
"files": [
"dist"
@@ -22,7 +23,7 @@
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./src/index.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"default": "./dist/index.mjs"
}