fix: always load version from package.json at runtime

This commit is contained in:
Michael Bolin
2025-05-12 21:04:29 -07:00
parent 61b881d4e5
commit 99e67d2e44
11 changed files with 33 additions and 15 deletions
+3
View File
@@ -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",