소스 검색

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

chore: suppress module not found warning
Yifei Zhang 1 년 전
부모
커밋
300f023d2a
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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,