refactor: migrate environment to BUILD_CONFIG (#8206)

This commit is contained in:
forehalo committed 2024-09-13 07:58:20 +00:00
1 parent 561f96bb71
commit a387e4ac07
90 files changed
+297 -260

No files matched your search

-5
View File
@@ -31,11 +31,6 @@ import {
import { Suspense } from 'react';
import { RouterProvider } from 'react-router-dom';
if (environment.isElectron && environment.isDebug) {
document.body.innerHTML = `<h1 style="color:red;font-size:5rem;text-align:center;">Don't run web entry in electron.</h1>`;
throw new Error('Wrong distribution');
}
const performanceI18nLogger = performanceLogger.namespace('i18n');
const cache = createEmotionCache();