16 lines
405 B
TypeScript
16 lines
405 B
TypeScript
import type { NextConfig } from 'next';
|
|
|
|
const deployRevision = process.env.MOTORSIGNAL_GIT_SHA?.trim() || 'unknown';
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: 'standalone',
|
|
poweredByHeader: false,
|
|
reactStrictMode: true,
|
|
env: {
|
|
// Embedded at build time so /api/version identifies the exact deployed source.
|
|
MOTORSIGNAL_DEPLOY_REVISION: deployRevision,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|