refactor: switch to tsdown

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

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'],