2025-11-27 20:42:46 +08:00
|
|
|
import 'reflect-metadata';
|
2025-10-14 22:53:26 +08:00
|
|
|
import React from 'react';
|
|
|
|
|
import ReactDOM from 'react-dom/client';
|
2025-11-23 14:49:37 +08:00
|
|
|
import { setGlobalLogLevel, LogLevel } from '@esengine/ecs-framework';
|
2025-10-14 22:53:26 +08:00
|
|
|
import App from './App';
|
2025-10-15 17:15:05 +08:00
|
|
|
import './styles/global.css';
|
2025-10-14 22:53:26 +08:00
|
|
|
import './styles/index.css';
|
2025-10-27 09:29:11 +08:00
|
|
|
import './i18n/config';
|
2025-10-14 22:53:26 +08:00
|
|
|
|
2025-11-23 14:49:37 +08:00
|
|
|
// Set log level to Warn in production to reduce console noise
|
|
|
|
|
setGlobalLogLevel(LogLevel.Warn);
|
|
|
|
|
|
2025-10-14 22:53:26 +08:00
|
|
|
ReactDOM.createRoot(document.getElementById('root')!).render(
|
2025-11-02 23:50:41 +08:00
|
|
|
<React.StrictMode>
|
|
|
|
|
<App />
|
|
|
|
|
</React.StrictMode>
|
2025-10-14 22:53:26 +08:00
|
|
|
);
|