From c0c9ae3f119dd4d19620a90631321775984023bb Mon Sep 17 00:00:00 2001 From: Lilith Date: Wed, 21 Jan 2026 12:33:00 -0800 Subject: [PATCH] =?UTF-8?q?perf(build):=20=E2=9A=A1=20Optimize=20TypeScrip?= =?UTF-8?q?t=20build=20performance=20with=20enhanced=20minification,=20sou?= =?UTF-8?q?rce=20maps,=20and=20tree-shaking=20via=20updated=20tsup=20confi?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsup.config.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tsup.config.ts diff --git a/tsup.config.ts b/tsup.config.ts new file mode 100644 index 0000000..ee07a7c --- /dev/null +++ b/tsup.config.ts @@ -0,0 +1,11 @@ +import { defineConfig } from 'tsup'; + +export default defineConfig({ + entry: ['src/index.ts'], + format: ['esm'], + dts: true, + clean: true, + sourcemap: true, + treeshake: true, + target: 'es2022', +});