chore(config-build): Update tsup config for optimized bundling with plugin tweaks

This commit is contained in:
Lilith 2026-01-21 12:38:50 -08:00
parent 85f22c46ca
commit 786c02ab07

17
tsup.config.ts Normal file
View file

@ -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',
});