refactor: switch to tsdown

This commit is contained in:
三咲智子 Kevin Deng 2025-04-24 15:12:57 +08:00
parent 2a5ef16cc3
commit a72bc11ed8
No known key found for this signature in database
6 changed files with 657 additions and 408 deletions

View File

@ -21,6 +21,7 @@
"devDependencies": {
"@babel/plugin-syntax-typescript": "^7.25.9",
"@eslint/js": "^9.23.0",
"@oxc-project/runtime": "^0.66.0",
"@rollup/plugin-babel": "^6.0.4",
"@types/babel__core": "^7.20.5",
"@types/babel__helper-module-imports": "^7.18.3",
@ -35,7 +36,7 @@
"jsdom": "^26.0.0",
"prettier": "3.5.3",
"tslib": "^2.8.1",
"tsup": "^8.4.0",
"tsdown": "^0.9.6",
"typescript": "~5.8.2",
"typescript-eslint": "^8.29.0",
"vite": "^6.2.5",

View File

@ -21,8 +21,8 @@
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
},
"scripts": {
"build": "tsup",
"watch": "tsup --watch"
"build": "tsdown",
"watch": "tsdown --watch"
},
"bugs": {
"url": "https://github.com/vuejs/babel-plugin-jsx/issues"

View File

@ -1,4 +1,4 @@
import { defineConfig } from 'tsup';
import { defineConfig } from 'tsdown';
export default defineConfig({
entry: ['src/index.ts'],

View File

@ -32,8 +32,8 @@
}
},
"scripts": {
"build": "tsup",
"watch": "tsup --watch"
"build": "tsdown",
"watch": "tsdown --watch"
},
"bugs": {
"url": "https://github.com/vuejs/babel-plugin-jsx/issues"

View File

@ -1,4 +1,4 @@
import { defineConfig } from 'tsup';
import { defineConfig } from 'tsdown';
export default defineConfig({
entry: ['src/index.ts'],

1050
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff