Explorar el Código

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

develop
sosuke.iwabuchi hace 2 años
padre
commit
24145ffb41
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. +3
    -0
      src/index.tsx

+ 3
- 0
src/index.tsx Ver fichero

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


Cargando…
Cancelar
Guardar