Skip to content

Commit

Permalink
Merge pull request #1283 from odilitime/fix-ts
Browse files Browse the repository at this point in the history
fix: fix lockfile
  • Loading branch information
shakkernerd authored Dec 20, 2024
2 parents f3538d0 + b5dc632 commit 5888867
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/core/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ export default defineConfig({
sourcemap: true,
clean: true,
format: ["esm"], // Ensure you're targeting CommonJS
platform: "node",
target: "node18",
bundle: true,
splitting: true, // Add this for better code splitting
dts: true, // Generate declaration files
external: [
"dotenv", // Externalize dotenv to prevent bundling
"fs", // Externalize fs to use Node.js built-in module
Expand Down

0 comments on commit 5888867

Please sign in to comment.