mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-17 01:12:09 +01:00
shit
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user