setup typescript

This commit is contained in:
2025-10-09 20:51:25 -07:00
parent 71c0a6eb9e
commit 16da07c374
5 changed files with 2037 additions and 6 deletions

10
tsup.config.ts Normal file
View File

@ -0,0 +1,10 @@
import {defineConfig} from 'tsup';
export default defineConfig({
format: ['cjs', 'esm'],
entry: ['./src/index.ts'],
dts: true,
shims: true,
skipNodeModulesBundle: true,
clean: true
})