Commit ece1ce2
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
0 commit comments