Skip to content

Commit d8d7c98

Browse files
committed
chore: migrate to tsdown
1 parent e60d729 commit d8d7c98

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
@@ -23,7 +23,7 @@
2323
"format": "prettier --write .",
2424
"typecheck": "tsc --noEmit",
2525
"precompile": "npm run lint",
26-
"compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
26+
"compile": "tsdown && tsc --emitDeclarationOnly --declaration",
2727
"build": "npm run compile",
2828
"version": "npm run build",
2929
"prepublishOnly": "npm run build",
@@ -48,7 +48,7 @@
4848
"prettier": "^3.7.4",
4949
"release-it": "^19.2.2",
5050
"ts-dedent": "^2.2.0",
51-
"tsup": "^8.5.1",
51+
"tsdown": "^0.19.0-beta.2",
5252
"typescript": "^5.9.3"
5353
},
5454
"dependencies": {
@@ -95,16 +95,19 @@
9595
"access": "public",
9696
"provenance": true
9797
},
98-
"tsup": {
98+
"tsdown": {
9999
"entry": [
100100
"index.ts",
101101
"src/types.ts"
102102
],
103103
"outDir": "./build",
104104
"clean": true,
105105
"format": "esm",
106+
"minify": "dce-only",
107+
"fixedExtension": false,
106108
"dts": false,
107-
"sourcemap": false,
109+
"treeshake": false,
110+
"sourcemaps": false,
108111
"target": "esnext"
109112
},
110113
"release-it": {

0 commit comments

Comments
 (0)