chore(vsh): migrate build to tsdown

This commit is contained in:
xingyu4j
2026-03-15 19:41:00 +08:00
parent af09d652a3
commit dba774e1c7
3 changed files with 13 additions and 8 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',
}),
});