This commit is contained in:
Max Kowalski
2025-06-26 22:43:22 +02:00
parent 8774a1f155
commit fd55b30398
30 changed files with 1458 additions and 1859 deletions

View File

@ -8,6 +8,21 @@ const nextConfig = {
"127.0.0.1",
"localhost"
],
// Disable Turbopack for now due to EISDIR error on Windows
webpack: (config, { isServer }) => {
if (!isServer) {
config.resolve.fallback = { fs: false, net: false, tls: false };
}
return config;
},
experimental: {
appDir: true,
serverComponentsExternalPackages: ['@prisma/client', 'bcryptjs'],
// disable the new Turbopack engine
// This is a temporary workaround for the EISDIR error on Windows
// Remove this once the issue is resolved in Next.js or Turbopack
turbopack: false,
},
};
export default nextConfig;