Przeglądaj źródła

コンソールログ出力の制御 ひな形

develop
sosuke.iwabuchi 2 lat temu
rodzic
commit
24145ffb41
1 zmienionych plików z 3 dodań i 0 usunięć
  1. +3
    -0
      src/index.tsx

+ 3
- 0
src/index.tsx Wyświetl plik

@@ -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
);


Ładowanie…
Anuluj
Zapisz