Skip to content

Commit e20b8c5

Browse files
committed
deploy: nodejs_compat compatibility flag
1 parent 1ada095 commit e20b8c5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎wrangler.jsonc‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"name": "interscript-api",
44
"main": "src/index.ts",
55
"compatibility_date": "2026-08-01",
6+
// The engine's node loaders are lazily imported; nodejs_compat makes
7+
// those lazy imports tolerable in the Workers runtime.
8+
"compatibility_flags": ["nodejs_compat"],
69
// Production route. Staging deploys (CI: push to main) replace this
710
// with the staging route via `--config wrangler.staging.jsonc`.
811
"routes": [

0 commit comments

Comments
 (0)