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