Skip to content

Commit 0c7d0f2

Browse files
committed
[Android/ImageViewer] Set different namespace for js and wasm resolving build issue
1 parent cd63920 commit 0c7d0f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/imageviewer/webApp/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ val rootDirPath = project.rootDir.path
1212

1313
kotlin {
1414
js {
15-
moduleName = "imageviewer"
15+
moduleName = "imageviewer-wa-js"
1616
browser {
1717
commonWebpackConfig {
1818
outputFileName = "imageviewer.js"
@@ -24,7 +24,7 @@ kotlin {
2424

2525
@OptIn(ExperimentalWasmDsl::class)
2626
wasmJs {
27-
moduleName = "imageviewer"
27+
moduleName = "imageviewer-wa-wasm"
2828
browser {
2929
// TODO: uncomment when https://youtrack.jetbrains.com/issue/KT-68614 is fixed (it doesn't work with configuration cache)
3030
// commonWebpackConfig {

0 commit comments

Comments
 (0)