From 0c7d0f2c4c408b87ddb8f735507bf05941ae35cb Mon Sep 17 00:00:00 2001 From: issamux Date: Tue, 11 Jun 2024 17:49:18 -0400 Subject: [PATCH] [Android/ImageViewer] Set different namespace for js and wasm resolving build issue --- examples/imageviewer/webApp/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/imageviewer/webApp/build.gradle.kts b/examples/imageviewer/webApp/build.gradle.kts index 52f28985efe..f2c5a6a2618 100644 --- a/examples/imageviewer/webApp/build.gradle.kts +++ b/examples/imageviewer/webApp/build.gradle.kts @@ -12,7 +12,7 @@ val rootDirPath = project.rootDir.path kotlin { js { - moduleName = "imageviewer" + moduleName = "imageviewer-wa-js" browser { commonWebpackConfig { outputFileName = "imageviewer.js" @@ -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 {