From ef5087b5c283e405c39d221664102d825a7c3c07 Mon Sep 17 00:00:00 2001 From: Dustin Brett Date: Wed, 16 Oct 2024 20:59:03 -0700 Subject: [PATCH] Dont use react devtools --- next.config.js | 3 +++ 1 file changed, 3 insertions(+) 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 })", }) );