mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 22:34:56 +00:00
Next.js standalone output is required for multi-stage Docker builds where we copy only the necessary files to the runtime image. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
22 lines
569 B
JavaScript
22 lines
569 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'standalone',
|
|
sassOptions: {
|
|
includePaths: ['./src/styles'],
|
|
},
|
|
experimental: {
|
|
optimizePackageImports: ['@phosphor-icons/react'],
|
|
},
|
|
eslint: {
|
|
// Linting is handled separately with direct ESLint invocation (eslint.config.mjs)
|
|
// Disable Next.js ESLint wrapper to avoid compatibility issues with ESLint 9+ flat config
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
typescript: {
|
|
tsconfigPath: './tsconfig.json',
|
|
ignoreBuildErrors: true,
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|