Skip to content
This repository was archived by the owner on Apr 22, 2026. It is now read-only.

Commit db0eee3

Browse files
authored
Replace tsup with tsdown (#28)
* refactor: replace tsup with tsdown for build configuration - Added a new configuration file `tsdown.config.js` to manage the build process using tsdown. - Removed the old `tsup.config.js` file as part of the migration to tsdown. - Updated build options to include sourcemaps, cleaning, and TypeScript declaration file generation. - Configured output formats for CommonJS, ES Module, and IIFE with appropriate settings. * fix: update node engine requirement to >=22.12.0
1 parent b1af29a commit db0eee3

4 files changed

Lines changed: 455 additions & 263 deletions

File tree

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
"dist"
4646
],
4747
"scripts": {
48-
"dev": "NODE_ENV=development tsup",
49-
"build": "NODE_ENV=production tsup",
48+
"dev": "NODE_ENV=development tsdown",
49+
"build": "NODE_ENV=production tsdown",
5050
"test": "vitest --typecheck --watch=false"
5151
},
5252
"dependencies": {
@@ -60,14 +60,14 @@
6060
"eslint-plugin-vue": "10.7.0",
6161
"globals": "17.3.0",
6262
"prettier": "3.8.1",
63-
"tsup": "8.5.1",
63+
"tsdown": "0.20.1",
6464
"typescript": "5.9.3",
6565
"typescript-eslint": "8.54.0",
6666
"vitest": "4.0.18",
6767
"vue-eslint-parser": "10.2.0"
6868
},
6969
"engines": {
70-
"node": ">=22"
70+
"node": ">=22.12.0"
7171
},
7272
"packageManager": "[email protected]",
7373
"pnpm": {

0 commit comments

Comments
 (0)