Skip to content

Commit 01b3c57

Browse files
committed
chore: migrate to tsdown
1 parent 9b33953 commit 01b3c57

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"typecheck": "tsc --noEmit",
2929
"precompile": "npm run lint && npm run clean",
3030
"clean": "del-cli build",
31-
"compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
31+
"compile": "tsdown && tsc --emitDeclarationOnly --declaration",
3232
"build": "npm run compile",
3333
"version": "npm run build",
3434
"prepublishOnly": "npm run build",
@@ -55,7 +55,7 @@
5555
"eslint": "^9.39.2",
5656
"prettier": "^3.7.4",
5757
"release-it": "^19.1.0",
58-
"tsup": "^8.5.1",
58+
"tsdown": "^0.17.4",
5959
"typescript": "^5.9.3"
6060
},
6161
"dependencies": {
@@ -85,7 +85,7 @@
8585
"access": "public",
8686
"provenance": true
8787
},
88-
"tsup": {
88+
"tsdown": {
8989
"entry": [
9090
"./index.ts",
9191
"./src/types.ts",
@@ -94,8 +94,11 @@
9494
"outDir": "./build",
9595
"clean": true,
9696
"format": "esm",
97+
"minify": "dce-only",
98+
"fixedExtension": false,
9799
"dts": false,
98-
"sourcemap": false,
100+
"treeshake": false,
101+
"sourcemaps": false,
99102
"target": "esnext"
100103
},
101104
"release-it": {

0 commit comments

Comments
 (0)