Skip to content

Commit

Permalink
fix build in core to target node23
Browse files Browse the repository at this point in the history
  • Loading branch information
HashWarlock committed Feb 7, 2025
1 parent e8aeb1e commit 87b0d66
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Binary file modified bun.lockb
Binary file not shown.
7 changes: 7 additions & 0 deletions packages/agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,19 @@
"dependencies": {
"@elizaos/plugin-bootstrap": "workspace:*",
"@elizaos/core": "workspace:*",
"@types/body-parser": "1.19.5",
"@types/cors": "2.8.17",
"@types/express": "5.0.0",
"cors": "2.8.5",
"express": "4.21.1",
"multer": "1.4.5-lts.1",
"readline": "1.3.0",
"ws": "8.18.0",
"yargs": "17.7.2",
"minipass": "7.1.2"
},
"devDependencies": {
"@types/multer": "^1.4.12",
"ts-node": "10.9.2",
"tsup": "8.3.5"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineConfig({
clean: true,
format: ["esm"], // Ensure you're targeting CommonJS
platform: "node",
target: "node18",
target: "node23",
bundle: true,
splitting: true, // Add this for better code splitting
dts: true, // Generate declaration files
Expand Down

0 comments on commit 87b0d66

Please sign in to comment.