Skip to content

Commit

Permalink
[Android/ImageViewer] Set different namespace for js and wasm resolvi…
Browse files Browse the repository at this point in the history
…ng build issue
  • Loading branch information
issamux committed Jun 11, 2024
1 parent cd63920 commit 0c7d0f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/imageviewer/webApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ val rootDirPath = project.rootDir.path

kotlin {
js {
moduleName = "imageviewer"
moduleName = "imageviewer-wa-js"
browser {
commonWebpackConfig {
outputFileName = "imageviewer.js"
Expand All @@ -24,7 +24,7 @@ kotlin {

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

0 comments on commit 0c7d0f2

Please sign in to comment.