jeran
10/11/2022, 7:53 PMmodule-a
with plugins { id("dev.icerock.mobile.multiplatform-resources") }
and I defined the multiplatformResourcesPackage
. I have a main.kt
which used MR.strings.foo
. running ./gradlew :module-a:jsBrowserRun
ran fine and displayed the string. cool.
but now I have module-a
depends on module-b
where module-b
has the moko plugin and string resources and module-a
has the main.kt
file. this, unfortunately, failsjeran
10/11/2022, 7:58 PMmoko-resources-generated.js
file that is generated and located in webpack.config.d
.
in fact, if i keep the old moko-resources-generated.js
file from when i originally had the strings in module-a, it works fine.
this leads me to think that that generated file is important for whatever top level module ends up using the strings, but I feel like that top level module shouldnt really need to know anything about the moko resource generation happening in lower modules.jeran
10/11/2022, 8:00 PMjeran
10/31/2022, 8:01 PM