import { execSync } from "child_process"; export default () => { const latestGitCommitHash = execSync("git rev-parse --short=10 HEAD") .toString() .trim(); return { hash: latestGitCommitHash, }; };