Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ece1ce2

Browse files
mksgluclaude
andcommitted
fix: version read from package.json works in bundle mode
createRequire("../package.json") fails in server.bundle.mjs (at project root, "../" goes to parent directory). Now tries ../package.json first (for build/ and src/), falls back to ./package.json (for bundle at root). Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent f67f2c9 commit ece1ce2

3 files changed

Lines changed: 142 additions & 134 deletions

File tree

0 commit comments

Comments
 (0)