From a43b6f830079a8d44066ad3efeef5041f6f0bdf9 Mon Sep 17 00:00:00 2001 From: Lilith Date: Wed, 21 Jan 2026 15:28:27 -0800 Subject: [PATCH] =?UTF-8?q?chore(build):=20=F0=9F=94=A7=20Optimize=20TypeS?= =?UTF-8?q?cript=20bundling=20in=20tsup.config.ts=20with=20performance-foc?= =?UTF-8?q?used=20plugins/formats/configs?= 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();