浏览代码

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,