diff --git a/package.json b/package.json index 747a3d4e7..c487b632b 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "scripts": { "start": "export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && vite", "dev": "export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && vite --port $PORT --host", - "build": "yarn prebuild-env && yarn prebuild && echo $GIT_ENV_EXPORTED && export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && tsc && vite build", + "build": "yarn prebuild-env && source src/output.env && yarn prebuild && echo $GIT_ENV_EXPORTED && export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && tsc && vite build", "prebuild": "tsx scripts/pre-build.ts", "prebuild-env": "./scripts/pre-build-env.sh", "analyze": "yarn build && rollup-plugin-visualizer --open ./bundle-size-analysis.json",