2026-09-01 17:03:37 -07:00
|
|
|
const { execSync } = require('child_process');
|
|
|
|
|
|
|
|
|
|
const commitSha = process.env.COMMIT_SHA
|
|
|
|
|
|| (() => { try { return execSync('git rev-parse --short HEAD').toString().trim(); } catch { return 'dev'; } })();
|
|
|
|
|
|
2026-08-18 18:33:49 -07:00
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
|
const nextConfig = {
|
|
|
|
|
output: 'standalone',
|
2026-09-01 17:03:37 -07:00
|
|
|
env: {
|
|
|
|
|
NEXT_PUBLIC_COMMIT_SHA: commitSha,
|
|
|
|
|
},
|
2026-08-18 18:33:49 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
module.exports = nextConfig;
|