feat: add fallback

This commit is contained in:
shinya
2025-07-02 13:23:59 +08:00
parent 7b3afce1a1
commit a46a2f76d9

View File

@@ -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;
},
};