chore(build): 🔧 Update tsup config for optimized bundle performance with minification & tree-shaking

This commit is contained in:
Lilith 2026-01-21 15:31:00 -08:00
parent fb2c3a9f1b
commit 31a8b137c9

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();