Skip to content

Commit a72bc11

Browse files
committed
refactor: switch to tsdown
1 parent 2a5ef16 commit a72bc11

File tree

6 files changed

+650
-401
lines changed

6 files changed

+650
-401
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"devDependencies": {
2222
"@babel/plugin-syntax-typescript": "^7.25.9",
2323
"@eslint/js": "^9.23.0",
24+
"@oxc-project/runtime": "^0.66.0",
2425
"@rollup/plugin-babel": "^6.0.4",
2526
"@types/babel__core": "^7.20.5",
2627
"@types/babel__helper-module-imports": "^7.18.3",
@@ -35,7 +36,7 @@
3536
"jsdom": "^26.0.0",
3637
"prettier": "3.5.3",
3738
"tslib": "^2.8.1",
38-
"tsup": "^8.4.0",
39+
"tsdown": "^0.9.6",
3940
"typescript": "~5.8.2",
4041
"typescript-eslint": "^8.29.0",
4142
"vite": "^6.2.5",

packages/babel-plugin-jsx/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
2222
},
2323
"scripts": {
24-
"build": "tsup",
25-
"watch": "tsup --watch"
24+
"build": "tsdown",
25+
"watch": "tsdown --watch"
2626
},
2727
"bugs": {
2828
"url": "https://github.com/vuejs/babel-plugin-jsx/issues"

packages/babel-plugin-jsx/tsup.config.ts renamed to packages/babel-plugin-jsx/tsdown.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from 'tsup';
1+
import { defineConfig } from 'tsdown';
22

33
export default defineConfig({
44
entry: ['src/index.ts'],

packages/babel-plugin-resolve-type/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
}
3333
},
3434
"scripts": {
35-
"build": "tsup",
36-
"watch": "tsup --watch"
35+
"build": "tsdown",
36+
"watch": "tsdown --watch"
3737
},
3838
"bugs": {
3939
"url": "https://github.com/vuejs/babel-plugin-jsx/issues"

packages/babel-plugin-resolve-type/tsup.config.ts renamed to packages/babel-plugin-resolve-type/tsdown.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from 'tsup';
1+
import { defineConfig } from 'tsdown';
22

33
export default defineConfig({
44
entry: ['src/index.ts'],

0 commit comments

Comments
 (0)