chore: tsdown workspace

This commit is contained in:
三咲智子 Kevin Deng
2025-08-10 08:57:05 +08:00
parent ef38316fb1
commit d411ef3ba1
6 changed files with 12 additions and 28 deletions

10
tsdown.config.ts Normal file
View File

@ -0,0 +1,10 @@
import { defineConfig } from 'tsdown';
export default defineConfig({
workspace: ['./packages/babel-plugin-jsx', './packages/babel-plugin-resolve-type'],
entry: ['src/index.ts'],
format: ['cjs', 'esm'],
dts: true,
target: 'es2015',
platform: 'neutral',
});