const path = require('path'); const runtimeConfig = { appTitle: process.env.APP_TITLE, description: process.env.APP_DESCRIPTION, basePath: process.env.BASE_PATH, }; /** @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;