25 lines
541 B
JavaScript
25 lines
541 B
JavaScript
const path = require('path');
|
|
|
|
const runtimeConfig = {
|
|
appTitle: process.env.APP_TITLE,
|
|
description: process.env.APP_DESCRIPTION,
|
|
};
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
basePath: process.env.BASE_PATH,
|
|
output: 'standalone',
|
|
reactStrictMode: true,
|
|
swcMinify: true,
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
serverRuntimeConfig: runtimeConfig,
|
|
publicRuntimeConfig: runtimeConfig,
|
|
experimental: {
|
|
outputFileTracingRoot: path.join(__dirname, '../../'),
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|