diff --git a/tsup.config.ts b/tsup.config.ts index 16a0b10..7d411c6 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -13,6 +13,7 @@ export default defineConfig({ target: "es2022", splitting: false, outDir: "dist", + platform: "node", esbuildOptions(options) { options.jsx = "automatic"; options.jsxImportSource = "preact";