chore(build): Update tsup config for optimized TypeScript bundling with minification, sourcemap, and output adjustments

This commit is contained in:
Lilith 2026-01-21 12:41:33 -08:00
parent bfbe9c384e
commit aae4832b9c

11
tsup.config.ts Normal file
View file

@ -0,0 +1,11 @@
import { defineConfig } from 'tsup';
export default defineConfig({
entry: ['src/index.ts'],
format: ['esm'],
dts: true,
clean: true,
sourcemap: true,
treeshake: true,
target: 'es2022',
});