perf(build): Optimize TypeScript bundling with tsup config tweaks for faster builds

This commit is contained in:
Lilith 2026-01-21 15:35:31 -08:00
parent 277d9554fe
commit 04fc551c23

View file

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