diff --git a/electron-react/index.html b/electron-react/index.html
index e403878..f8c3678 100644
--- a/electron-react/index.html
+++ b/electron-react/index.html
@@ -5,7 +5,7 @@
-
+
Athena
diff --git a/electron-react/vite.config.ts b/electron-react/vite.config.ts
index d85b960..6ff7963 100644
--- a/electron-react/vite.config.ts
+++ b/electron-react/vite.config.ts
@@ -16,7 +16,15 @@ export default defineConfig(({ command }) => {
return {
resolve: {
alias: {
- '@': path.join(__dirname, 'src')
+ '@': path.join(__dirname, 'src'),
+ 'react-dom/client': path.resolve(
+ __dirname,
+ 'node_modules/react-dom/profiling.js'
+ ),
+ 'scheduler/tracing': path.resolve(
+ __dirname,
+ 'node_modules/scheduler/tracing-profiling'
+ ),
},
},
plugins: [
diff --git a/electron-react/vite.legacy.config.ts b/electron-react/vite.legacy.config.ts
index 506915b..1b6fc2b 100644
--- a/electron-react/vite.legacy.config.ts
+++ b/electron-react/vite.legacy.config.ts
@@ -19,7 +19,15 @@ export default defineConfig(({ command }) => {
return {
resolve: {
alias: {
- '@': path.join(__dirname, 'src')
+ '@': path.join(__dirname, 'src'),
+ 'react-dom/client': path.resolve(
+ __dirname,
+ 'node_modules/react-dom/profiling.js'
+ ),
+ 'scheduler/tracing': path.resolve(
+ __dirname,
+ 'node_modules/scheduler/tracing-profiling'
+ ),
},
},
plugins: [