Skip to content

Commit d615b6b

Browse files
committed
Add @types/bun so the production tsc build resolves node:fs / node:path
The lesson-path audit test added in bbfbe0f imports `node:fs` and `node:path`, which `tsc -b` couldn't resolve without ambient Node types. Production build was passing locally but failing on Cloudflare Pages.
1 parent 21c0c5b commit d615b6b

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

bun.lock

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
},
2222
"devDependencies": {
2323
"@modyfi/vite-plugin-yaml": "^1.1.1",
24+
"@types/bun": "^1.3.13",
2425
"@types/react": "^19.1.0",
2526
"@types/react-dom": "^19.1.0",
2627
"@vitejs/plugin-react": "^4.4.1",

0 commit comments

Comments
 (0)