From 7073c51baaa118abbce97008a8e76162963bd250 Mon Sep 17 00:00:00 2001 From: Ivan Vasilov Date: Fri, 22 Dec 2023 12:19:21 +0100 Subject: [PATCH] fix: Enable the Node polyfills flag (#19965) Enable the fallback node polyfills flag --- apps/studio/next.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/studio/next.config.js b/apps/studio/next.config.js index 26995bfcb02..7a7ea6470dc 100644 --- a/apps/studio/next.config.js +++ b/apps/studio/next.config.js @@ -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 [