Mike Digman
04/06/2023, 12:21 AMpainterResource()
but image files do (if they're accessible). Working on a Compose MPP project that shares code and resources (mainly images) between Android, Desktop and web. I can't find a way to get webpack to include all the shared common files.alex009
04/06/2023, 6:05 AMMike Digman
04/06/2023, 6:53 PMMike Digman
04/06/2023, 6:54 PMimplementation(project(":shared"))
doesn't seem to automatically
kotlin {
js(IR) {
browser()
binaries.executable()
}
sourceSets {
val jsMain by getting {
dependencies {
implementation(project(":shared"))
}
resources.srcDir("../shared/src/commonMain/resources")
}
}
}