From 24145ffb410e003d2337de67e82a962c45804e9e Mon Sep 17 00:00:00 2001 From: "sosuke.iwabuchi" Date: Mon, 31 Jul 2023 15:11:50 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=B3=E3=82=BD=E3=83=BC=E3=83=AB?= =?UTF-8?q?=E3=83=AD=E3=82=B0=E5=87=BA=E5=8A=9B=E3=81=AE=E5=88=B6=E5=BE=A1?= =?UTF-8?q?=E3=80=80=E3=81=B2=E3=81=AA=E5=BD=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index a4eefe0..a6f8b55 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3,6 +3,9 @@ import App from "./App"; import "./index.css"; import reportWebVitals from "./reportWebVitals"; +// コンソールログ出力の抑制 +// process.env.NODE_ENV !== "development" && (console.log = () => {}); + const root = ReactDOM.createRoot( document.getElementById("root") as HTMLElement );