We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f3538d0 + b5dc632 commit 5888867Copy full SHA for 5888867
packages/core/tsup.config.ts
@@ -6,6 +6,11 @@ export default defineConfig({
6
sourcemap: true,
7
clean: true,
8
format: ["esm"], // Ensure you're targeting CommonJS
9
+ platform: "node",
10
+ target: "node18",
11
+ bundle: true,
12
+ splitting: true, // Add this for better code splitting
13
+ dts: true, // Generate declaration files
14
external: [
15
"dotenv", // Externalize dotenv to prevent bundling
16
"fs", // Externalize fs to use Node.js built-in module
0 commit comments