From 25915a2eab8778f2f9ef7e4437384896258b00da Mon Sep 17 00:00:00 2001 From: Lilith Date: Wed, 21 Jan 2026 15:34:56 -0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E2=9A=A1=20Optimize=20tsup=20?= =?UTF-8?q?build=20config=20for=20performance/optimization?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsup.config.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tsup.config.ts b/tsup.config.ts index ee07a7c..3bf41e0 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -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();