File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,15 @@ kotlin {
1111 jvm()
1212 js(IR ) {
1313 binaries.executable()
14+
15+ listOf (compilations[" main" ], compilations[" test" ]).forEach {
16+ with (it.kotlinOptions) {
17+ moduleKind = " umd"
18+ sourceMap = true
19+ sourceMapEmbedSources = " always"
20+ metaInfo = true
21+ }
22+ }
1423 }
1524
1625 iosArm64(" ios" )
Original file line number Diff line number Diff line change @@ -12,6 +12,15 @@ kotlin {
1212 js(BOTH ) {
1313// nodejs()
1414// browser()
15+
16+ listOf (compilations[" main" ], compilations[" test" ]).forEach {
17+ with (it.kotlinOptions) {
18+ moduleKind = " umd"
19+ sourceMap = true
20+ sourceMapEmbedSources = " always"
21+ metaInfo = true
22+ }
23+ }
1524 }
1625
1726 iosArm64(" ios" )
Original file line number Diff line number Diff line change @@ -13,6 +13,15 @@ kotlin {
1313 js(BOTH ) {
1414// nodejs()
1515// browser()
16+
17+ listOf (compilations[" main" ], compilations[" test" ]).forEach {
18+ with (it.kotlinOptions) {
19+ moduleKind = " umd"
20+ sourceMap = true
21+ sourceMapEmbedSources = " always"
22+ metaInfo = true
23+ }
24+ }
1625 }
1726
1827 iosArm64(" ios" )
You can’t perform that action at this time.
0 commit comments