Skip to content

Commit 5888867

Browse files
authored
Merge pull request elizaOS#1283 from odilitime/fix-ts
fix: fix lockfile
2 parents f3538d0 + b5dc632 commit 5888867

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/core/tsup.config.ts

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ export default defineConfig({
66
sourcemap: true,
77
clean: true,
88
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
914
external: [
1015
"dotenv", // Externalize dotenv to prevent bundling
1116
"fs", // Externalize fs to use Node.js built-in module

0 commit comments

Comments
 (0)