[Gradle, JS] Use mjs extension for wasm in webpack task
This commit is contained in:
+1
-1
@@ -119,7 +119,7 @@ constructor(
|
|||||||
@get:Internal
|
@get:Internal
|
||||||
val entry: Provider<RegularFile>
|
val entry: Provider<RegularFile>
|
||||||
get() = inputFilesDirectory.map {
|
get() = inputFilesDirectory.map {
|
||||||
it.file(entryModuleName.get() + ".js")
|
it.file(entryModuleName.get() + if (platformType == KotlinPlatformType.wasm) ".mjs" else ".js")
|
||||||
}
|
}
|
||||||
|
|
||||||
init {
|
init {
|
||||||
|
|||||||
Reference in New Issue
Block a user