diff --git a/next.config.js b/next.config.js index c61863bc0f..58cac1afd9 100644 --- a/next.config.js +++ b/next.config.js @@ -47,6 +47,9 @@ const nextConfig = { default: throw new Error(`Not found ${mod}`); } + }), + new webpack.DefinePlugin({ + __REACT_DEVTOOLS_GLOBAL_HOOK__: "({ isDisabled: true })", }) );