perf(build): ⚡ Optimize build process by updating tsup.config.ts for faster compilation and reduced bundle size
This commit is contained in:
parent
7694f4d909
commit
64deb78b09
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({
|
||||
entry: ['src/index.ts'],
|
||||
format: ['esm'],
|
||||
dts: true,
|
||||
clean: true,
|
||||
sourcemap: true,
|
||||
treeshake: true,
|
||||
target: 'es2022',
|
||||
});
|
||||
export default createLibraryConfig();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue