Skip to content

Commit 86dbd47

Browse files
authored
chore: use tsdown (#746)
1 parent 655f1ed commit 86dbd47

File tree

2 files changed

+436
-740
lines changed

2 files changed

+436
-740
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
"exports": {
1818
".": {
1919
"import": {
20-
"types": "./dist/index.d.ts",
20+
"types": "./dist/index.d.mts",
2121
"default": "./dist/index.mjs"
2222
},
2323
"require": {
24-
"types": "./dist/index.d.ts",
25-
"default": "./dist/index.js"
24+
"types": "./dist/index.d.cts",
25+
"default": "./dist/index.cjs"
2626
}
2727
}
2828
},
2929
"scripts": {
30-
"build": "tsup src/index.ts --format esm,cjs --dts",
30+
"build": "tsdown src/index.ts --format esm,cjs --dts",
3131
"format": "biome format --write .",
3232
"format:apply": "biome check --write .",
3333
"format:check": "biome format .",
@@ -71,7 +71,7 @@
7171
"dotenv": "17.2.3",
7272
"pkg-pr-new": "0.0.60",
7373
"rimraf": "6.1.0",
74-
"tsup": "8.5.0",
74+
"tsdown": "0.16.5",
7575
"typescript": "5.9.3",
7676
"vitest": "3.2.4",
7777
"vitest-fetch-mock": "0.4.5"

0 commit comments

Comments
 (0)