chore: emit dts by oxc

This commit is contained in:
三咲智子 Kevin Deng
2025-08-10 09:05:18 +08:00
parent d411ef3ba1
commit b937287732
3 changed files with 309 additions and 290 deletions

View File

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