From 3197dbdc23f29da92e2a3a8696b24338ea7f7a44 Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Wed, 26 Jun 2024 16:26:55 -0700 Subject: [PATCH] remove node api polyfills, for smaller bundle --- web/next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/next.config.js b/web/next.config.js index 20630ab44f..1fd39fab1a 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -25,6 +25,7 @@ module.exports = { '*.svg': { loaders: ['@svgr/webpack'], as: '*.js' }, }, }, + fallbackNodePolyfills: false, }, images: { dangerouslyAllowSVG: true,