fix: update dev and build scripts to set NEXT_PUBLIC_GIT_COMMIT environment variable

This commit is contained in:
2026-03-31 15:11:35 -07:00
parent e4ce124326
commit 8e98ffa73d
+2 -2
View File
@@ -3,8 +3,8 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "NEXT_PUBLIC_GIT_COMMIT=$(git rev-parse --short HEAD) next build",
"dev": "NEXT_PUBLIC_GIT_COMMIT=$(git rev-parse --short HEAD) next dev",
"build": "next build",
"start": "next start",
"lint": "eslint",
"test": "vitest",