fix: always load version from package.json at runtime

This commit is contained in:
Michael Bolin
2025-05-12 18:06:46 -07:00
parent 61b881d4e5
commit cfc87f9345
9 changed files with 22 additions and 17 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",