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