diff --git a/tsup.config.ts b/tsup.config.ts index 0ceb30b..efacb74 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -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', + }, });