From 786c02ab072fbe7a8ece3bf8dfc032ceb7183cca Mon Sep 17 00:00:00 2001 From: Lilith Date: Wed, 21 Jan 2026 12:38:50 -0800 Subject: [PATCH] =?UTF-8?q?chore(config-build):=20=E2=9A=A1=20Update=20tsu?= =?UTF-8?q?p=20config=20for=20optimized=20bundling=20with=20plugin=20tweak?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsup.config.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tsup.config.ts diff --git a/tsup.config.ts b/tsup.config.ts new file mode 100644 index 0000000..ca67b25 --- /dev/null +++ b/tsup.config.ts @@ -0,0 +1,17 @@ +import { defineConfig } from 'tsup'; + +export default defineConfig({ + entry: { + 'electron': 'src/electron.ts', + 'web': 'src/web-fixture.ts', + 'helpers': 'src/helpers.ts', + 'config': 'src/config.ts', + 'index': 'src/index.ts' +}, + format: ['esm'], + dts: true, + clean: true, + sourcemap: true, + treeshake: true, + target: 'es2022', +});