File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 5
5
< link rel ="icon " type ="image/x-icon " href ="/favicon.ico " />
6
6
< link rel ="stylesheet " href ="https://fonts.googleapis.com/icon?family=Material+Icons ">
7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
8
- < meta http-equiv ="Content-Security-Policy " content ="script-src 'self' 'unsafe-inline' blob: " / >
8
+ < meta http-equiv ="Content-Security-Policy " content ="script-src 'self' 'unsafe-inline' 'unsafe-eval' blob: ">
9
9
< title > Athena</ title >
10
10
</ head >
11
11
< body >
Original file line number Diff line number Diff line change @@ -16,7 +16,15 @@ export default defineConfig(({ command }) => {
16
16
return {
17
17
resolve : {
18
18
alias : {
19
- '@' : path . join ( __dirname , 'src' )
19
+ '@' : path . join ( __dirname , 'src' ) ,
20
+ 'react-dom/client' : path . resolve (
21
+ __dirname ,
22
+ 'node_modules/react-dom/profiling.js'
23
+ ) ,
24
+ 'scheduler/tracing' : path . resolve (
25
+ __dirname ,
26
+ 'node_modules/scheduler/tracing-profiling'
27
+ ) ,
20
28
} ,
21
29
} ,
22
30
plugins : [
Original file line number Diff line number Diff line change @@ -19,7 +19,15 @@ export default defineConfig(({ command }) => {
19
19
return {
20
20
resolve : {
21
21
alias : {
22
- '@' : path . join ( __dirname , 'src' )
22
+ '@' : path . join ( __dirname , 'src' ) ,
23
+ 'react-dom/client' : path . resolve (
24
+ __dirname ,
25
+ 'node_modules/react-dom/profiling.js'
26
+ ) ,
27
+ 'scheduler/tracing' : path . resolve (
28
+ __dirname ,
29
+ 'node_modules/scheduler/tracing-profiling'
30
+ ) ,
23
31
} ,
24
32
} ,
25
33
plugins : [
You can’t perform that action at this time.
0 commit comments