Explorar o código

Merge pull request #2318 from Yidadaa/bugfix-0709-2

chore: suppress module not found warning
Yifei Zhang hai 1 ano
pai
achega
300f023d2a
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      next.config.mjs

+ 4 - 0
next.config.mjs

@@ -20,6 +20,10 @@ const nextConfig = {
       );
     }
 
+    config.resolve.fallback = {
+      child_process: false,
+    };
+
     return config;
   },
   output: mode,