diff --git a/server.js b/server.js index 9d86574256..dd2ba4240c 100644 --- a/server.js +++ b/server.js @@ -63,6 +63,13 @@ const serverConfig = { `, }, static: false, + client: { + // See https://github.com/firefox-devtools/profiler/pull/4598#issuecomment-1529260852 + // for the root cause of an error happening at load time. For this reason we + // disable the webpack overlay. We may be able to revisit after moving to + // the React 18 new API. + overlay: false, + }, }; // Allow a local file to override various options.