File tree Expand file tree Collapse file tree 3 files changed +534
-600
lines changed Expand file tree Collapse file tree 3 files changed +534
-600
lines changed Original file line number Diff line number Diff line change 48
48
"publish" : " npm publish"
49
49
},
50
50
"devDependencies" : {
51
- "@preact/signals-react" : " ^1.3.4" ,
51
+ "@babel/cli" : " ^7.23.9" ,
52
+ "@babel/core" : " ^7.24.0" ,
53
+ "@preact/signals-react" : " ^2.0.0" ,
54
+ "@preact/signals-react-transform" : " ^0.3.0" ,
52
55
"@types/eslint" : " ^8.44.0" ,
53
56
"@types/react" : " ^18.2.14" ,
54
57
"@types/react-dom" : " ^18.2.7" ,
64
67
"zod" : " ^3.21.4"
65
68
},
66
69
"peerDependencies" : {
67
- "@preact/signals-react" : " ^1 .0.0" ,
70
+ "@preact/signals-react" : " ^2 .0.0" ,
68
71
"react" : " ^18.0.0"
69
72
}
70
73
}
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ export default defineConfig(() => {
22
22
] ,
23
23
} ,
24
24
} ,
25
- plugins : [ react ( ) ] ,
25
+ plugins : [ react ( {
26
+ babel : {
27
+ plugins : [ [ "module:@preact/signals-react-transform" ] ]
28
+ }
29
+ } ) ] ,
26
30
} ;
27
31
} ) ;
You can’t perform that action at this time.
0 commit comments