fix: Enable the Node polyfills flag (#19965)

Enable the fallback node polyfills flag
This commit is contained in:
Ivan Vasilov authored and GitHub committed 2023-12-22 12:19:21 +01:00
1 parent fc4142d7cb
commit 7073c51baa
1 file changed
+2 -1
+2 -1
View File
@@ -30,7 +30,8 @@ const nextConfig = {
experimental: {
// [Kevin] Next polyfills Node modules like Crypto by default, blowing up the bundle size. We use generate-password-browser (safe to use in browser) and the polyfills are not needed for us
// Revisit on Next 14 upgrade (PR #19909)
fallbackNodePolyfills: false,
// [Ivan] Temporarily enable until we find a fix for breaking anon-role in the Realtime inspector
fallbackNodePolyfills: true,
},
async redirects() {
return [