diff --git a/next.config.js b/next.config.js index 7925073..7fed7f1 100644 --- a/next.config.js +++ b/next.config.js @@ -52,6 +52,13 @@ const nextConfig = { // Modify the file loader rule to ignore *.svg, since we have it handled now. fileLoaderRule.exclude = /\.svg$/i; + config.resolve.fallback = { + ...config.resolve.fallback, + net: false, + tls: false, + crypto: false, + }; + return config; }, };