const path = require('path') /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, distDir: process.env.TEST_DIST_DIR || '.next', // Blendet das Next.js-Overlay unten links im Entwicklungsmodus aus. devIndicators: false, // Erzeugt .next/standalone mit minimalem Server für das Docker-Image. output: 'standalone', // Verhindert, dass Next.js wegen einer Lockfile im Home-Verzeichnis // den falschen Workspace-Root wählt. outputFileTracingRoot: path.join(__dirname), } module.exports = nextConfig