chore(oxfmt-config): migrate build to tsdown

This commit is contained in:
xingyu4j
2026-03-15 19:39:51 +08:00
parent db9b9df8f7
commit 30b5610a73
4 changed files with 15 additions and 10 deletions

View File

@@ -0,0 +1,11 @@
import { defineConfig } from 'tsdown';
export default defineConfig({
clean: true,
dts: true,
entry: ['src/index.ts'],
format: ['esm'],
outExtensions: () => ({
dts: '.d.ts',
}),
});