Files
Todo/next.config.js
Paul Bailey 60ebf13a9c Simplify Docker setup to fix constructor error
- Remove standalone output mode from Next.js config
- Use single-stage Docker build with npm start
- Eliminate complex multi-stage build that was causing issues
2025-12-02 13:54:26 +00:00

21 lines
475 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
optimizePackageImports: ['lucide-react'],
},
compiler: {
removeConsole: process.env.NODE_ENV === 'production' ? {
exclude: ['error', 'warn'],
} : false,
},
swcMinify: true,
images: {
formats: ['image/avif', 'image/webp'],
},
compress: true,
productionBrowserSourceMaps: false,
trailingSlash: false,
poweredByHeader: false,
}
module.exports = nextConfig