You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
643B

  1. import ReactDOM from "react-dom/client";
  2. import App from "./App";
  3. import "./index.css";
  4. import reportWebVitals from "./reportWebVitals";
  5. // コンソールログ出力の抑制
  6. // process.env.NODE_ENV !== "development" && (console.log = () => {});
  7. const root = ReactDOM.createRoot(
  8. document.getElementById("root") as HTMLElement
  9. );
  10. root.render(
  11. // <React.StrictMode>
  12. <App />
  13. // </React.StrictMode>
  14. );
  15. // If you want to start measuring performance in your app, pass a function
  16. // to log results (for example: reportWebVitals(console.log))
  17. // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
  18. reportWebVitals();