chore(build): 🔧 Update build configuration in tsup.config.ts to optimize output settings
This commit is contained in:
parent
4d45f9144e
commit
44f044da70
1 changed files with 5 additions and 11 deletions
|
|
@ -1,14 +1,8 @@
|
|||
import { defineConfig } from 'tsup';
|
||||
import { createLibraryConfig } from '@lilith/configs/tsup/library';
|
||||
|
||||
export default defineConfig({
|
||||
export default createLibraryConfig({
|
||||
entry: {
|
||||
'nestjs': 'src/nestjs/index.ts',
|
||||
'index': 'src/index.ts'
|
||||
},
|
||||
format: ['esm'],
|
||||
dts: true,
|
||||
clean: true,
|
||||
sourcemap: true,
|
||||
treeshake: true,
|
||||
target: 'es2022',
|
||||
nestjs: 'src/nestjs/index.ts',
|
||||
index: 'src/index.ts',
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue