From 11186961b87a005aaf630ad6ac81b3c8443cb34e Mon Sep 17 00:00:00 2001 From: yuiseki Date: Thu, 24 Oct 2024 08:32:42 +0900 Subject: [PATCH] Add config.module.exprContextCritical = false; --- next.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next.config.js b/next.config.js index 7d1c0a47..90e76301 100644 --- a/next.config.js +++ b/next.config.js @@ -12,6 +12,9 @@ const nextConfig = { syncWebAssembly: true, }; + // Ignore specific warnings + config.module.exprContextCritical = false; + config.module.rules.push({ test: /.*\.wasm$/, type: "asset/resource",