build: ⚡ Optimize TypeScript bundling config for performance improvements
This commit is contained in:
parent
12871555e1
commit
3983fb7c7d
1 changed files with 2 additions and 10 deletions
|
|
@ -1,11 +1,3 @@
|
||||||
import { defineConfig } from 'tsup';
|
import { createLibraryConfig } from '@lilith/configs/tsup/library';
|
||||||
|
|
||||||
export default defineConfig({
|
export default createLibraryConfig();
|
||||||
entry: ['src/index.ts'],
|
|
||||||
format: ['esm'],
|
|
||||||
dts: true,
|
|
||||||
clean: true,
|
|
||||||
sourcemap: true,
|
|
||||||
treeshake: true,
|
|
||||||
target: 'es2022',
|
|
||||||
});
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue