File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,21 @@ plugins {
44
55dependencies {
66 commonMainImplementation(npm(jspkg.types.react))
7+ commonMainImplementation(npm(jspkg.webref.events))
8+ }
9+
10+ val syncReact by tasks.registering(SyncWrappers ::class ) {
11+ from(jsGeneratedDir) {
12+ include(" react/*.kt" )
13+ }
14+
15+ into(jsMainDir(" kotlin-react" ))
716}
817
918val syncReactDom by tasks.registering(SyncWrappers ::class ) {
10- from(jsGeneratedDir)
19+ from(jsGeneratedDir) {
20+ include(" react/dom/**/*.kt" )
21+ }
22+
1123 into(jsMainDir(" kotlin-react-dom" ))
1224}
Original file line number Diff line number Diff line change 11# https://www.npmjs.com/package/@types/react
22types-react.npm.version =19.2.2
3+
4+ # https://www.npmjs.com/package/@webref/events
5+ webref-events.npm.version =1.19.0
You can’t perform that action at this time.
0 commit comments