14 lines
395 B
TypeScript
14 lines
395 B
TypeScript
// lib/build-info.json is generated by scripts/write-build-info.mjs (prebuild).
|
|
// Fallback keeps `next dev` and `tsc` working before the first build.
|
|
import generated from './build-info.json';
|
|
|
|
export type BuildInfo = {
|
|
version: string;
|
|
commit: string | null;
|
|
branch: string | null;
|
|
sourceHash: string;
|
|
builtAt: string;
|
|
};
|
|
|
|
export const buildInfo: BuildInfo = generated as BuildInfo;
|