diff --git a/tsup.config.ts b/tsup.config.ts index fc57fa9..8d2f0a5 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -7,5 +7,7 @@ export default { clean: true, format: ['cjs', 'esm'], dts: true, + cjsInterop: true, + splitting: true, onSuccess: 'npm run build:fix', }