mirror of
https://github.com/openai/codex.git
synced 2026-10-22 17:58:46 +00:00
fix: always load version from package.json at runtime
This commit is contained in:
@@ -72,6 +72,9 @@ if (isDevBuild) {
|
||||
esbuild
|
||||
.build({
|
||||
entryPoints: ["src/cli.tsx"],
|
||||
// Do not bundle the contents of package.json at build time: always read it
|
||||
// at runtime.
|
||||
external: ["../package.json"],
|
||||
bundle: true,
|
||||
format: "esm",
|
||||
platform: "node",
|
||||
|
||||
Reference in New Issue
Block a user