Skip to content

Commit 713b840

Browse files
committed
fix: Add esbuild dependency to cloudflare example server
- Add esbuild as devDependency - Needed by tsx for TypeScript execution - Server needs additional type fixes before it can run
1 parent 3c7b9c4 commit 713b840

File tree

1 file changed

+2
-1
lines changed
  • integrations/cloudflare/typescript/examples/server

1 file changed

+2
-1
lines changed

integrations/cloudflare/typescript/examples/server/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "module",
55
"scripts": {
66
"dev": "tsx watch src/index.ts",
7-
"start": "tsx src/index.ts",
7+
"start": "node --loader tsx src/index.ts",
88
"build": "tsc",
99
"test": "echo \"no tests to run\" && exit 0"
1010
},
@@ -18,6 +18,7 @@
1818
"@types/express": "^4.17.21",
1919
"@types/cors": "^2.8.17",
2020
"@types/node": "^20.10.0",
21+
"esbuild": "^0.19.0",
2122
"tsx": "^4.7.0",
2223
"typescript": "^5.3.3"
2324
},

0 commit comments

Comments
 (0)