[Gradle, JS] Use jsOutputName as module name
This commit is contained in:
committed by
TeamCityServer
parent
eaf25b517d
commit
4d7f7fc50f
@@ -208,8 +208,7 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
|
|||||||
outputKlibPath = outputFile.path,
|
outputKlibPath = outputFile.path,
|
||||||
nopack = arguments.irProduceKlibDir,
|
nopack = arguments.irProduceKlibDir,
|
||||||
jsOutputName = moduleName
|
jsOutputName = moduleName
|
||||||
.replace(":", "-")
|
.substringAfterLast(":"),
|
||||||
.replace(".", "-"),
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user