Unverified Commit 8e532aff authored by Oleksandr Karpovich's avatar Oleksandr Karpovich Committed by GitHub

set moduleName for kjs target (#545)

Kotlin 1.7.0 introduced some changes related to kjs module names.

Therefore, we need to override the moduleName to avoid name collision with a different skiko.js file
Co-authored-by: 's avatarOleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
parent 5ad212b5
...@@ -228,6 +228,7 @@ kotlin { ...@@ -228,6 +228,7 @@ kotlin {
if (supportWasm) { if (supportWasm) {
js(IR) { js(IR) {
moduleName = "skiko-kjs" // override the name to avoid name collision with a different skiko.js file
browser { browser {
testTask { testTask {
dependsOn("linkWasm") dependsOn("linkWasm")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment