Files
metabuilder/pastebin/next.config.js
johndoe6345789 63f38aecec fix(pastebin): add standalone output for Docker builds
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>
2026-01-22 01:24:48 +00:00

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