diff --git a/next.config.mjs b/next.config.mjs index e52780cb53259..f1c35aaed920c 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -65,6 +65,8 @@ const nextConfig = { ], // Removes the warning regarding the WebPack Build Worker webpackBuildWorker: false, + // Otherwise Build fails due to unrecognizable character + serverComponentsExternalPackages: ['@sentry/profiling-node'], }, };