same thing but for vite lol

(cherry picked from commit 6d0c350208)
This commit is contained in:
Sapphire committed 2026-06-22 06:43:25 -05:00
1 parent 11669d40b8
commit 71895dec63
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@ import path from 'path';
import { visualizer } from 'rollup-plugin-visualizer';
import jotaiReactRefresh from 'jotai/babel/plugin-react-refresh';
const commitHash = execSync('git rev-parse --verify --short HEAD').toString().trim();
const commitHash = execSync('git rev-parse --verify --short=8 HEAD').toString().trim();
const versionTag = execSync('git --no-pager tag --sort -taggerdate --points-at HEAD')
.toString()
.split('\n')[0]