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