chore: update Next.js config and package metadata

This commit is contained in:
2026-01-11 23:44:38 +01:00
parent b85841248d
commit 7ce4f41cf9
2 changed files with 12 additions and 3 deletions

View File

@@ -11,8 +11,17 @@ const nextConfig: NextConfig = {
// Enable standalone output for Docker
output: 'standalone',
// Disable Turbopack for Docker builds - use Webpack instead
// Turbopack has issues with Tailwind CSS 4 in Docker containers
// Webpack config (needed for PWA plugin)
webpack: (config, { isServer }) => {
// Fixes npm packages that depend on `fs` module
if (!isServer) {
config.resolve.fallback = {
...config.resolve.fallback,
fs: false,
};
}
return config;
},
// Optimize for production
reactStrictMode: true,