diff --git a/next.config.js b/next.config.js index 6a71696a..c611215f 100644 --- a/next.config.js +++ b/next.config.js @@ -27,7 +27,8 @@ const nextConfig = { devIndicators: false, output: "export", productionBrowserSourceMaps: false, - reactStrictMode: true, + reactProductionProfiling: false, + reactStrictMode: !isProduction, webpack: (config) => { config.plugins.push( new webpack.NormalModuleReplacementPlugin(/node:/, (resource) => {