bb85a0c324
Das runner-Stage uebernimmt node_modules aus dem deps-Stage (npm ci --omit=dev),
enthaelt also kein TypeScript. Next.js konnte die next.config.ts deshalb zur
Laufzeit nicht transpilieren und brach beim Start ab ("Failed to transpile
next.config.ts"). Die Config setzt nur turbopack.root, was fuer `next start`
ohnehin irrelevant ist - daher gleichwertig als CommonJS-JS-Datei.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
11 lines
181 B
JavaScript
11 lines
181 B
JavaScript
const path = require("path");
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
turbopack: {
|
|
root: path.resolve(__dirname),
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|