perf(build): Optimize build process by updating tsup.config.ts for faster compilation and reduced bundle size

This commit is contained in:
Lilith 2026-01-21 15:32:30 -08:00
parent 7694f4d909
commit 64deb78b09

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