Alex Styl
07/29/2025, 1:26 AMjsBrowserDistribution
or jsBrowserDevelopmentExecutableDistribution
and it outputs a composeApp.js
file, but no index or skiko etc.
any ideas how to debug this?Alex Styl
07/29/2025, 1:26 AMjs {
browser {
commonWebpackConfig {
outputFileName = "composeApp.js"
val rootDirPath = project.rootDir.path
val projectDirPath = project.projectDir.path
outputPath = File("$rootDirPath/dist/composeUnstyledDemos")
devServer = (devServer ?: KotlinWebpackConfig.DevServer()).apply {
static = (static ?: mutableListOf()).apply {
// Serve sources to debug inside browser
add(rootDirPath)
add(projectDirPath)
}
}
}
}
binaries.executable()
}
Oleksandr Karpovich [JB]
07/29/2025, 9:34 AMAlex Styl
07/29/2025, 12:14 PMdistribution {
outputDirectory = File("$rootDirPath/dist/${project.name}")
}