improvements for kmp

This commit is contained in:
2025-10-04 02:14:37 +03:00
parent 715c4ba40b
commit ad2a102f1f
35 changed files with 262 additions and 215 deletions
+21
View File
@@ -0,0 +1,21 @@
/*
* Temporary workaround for [KT-80582](https://youtrack.jetbrains.com/issue/KT-80582)
*
* This file should be safe to be removed once the ticket is closed and the project is updated to Kotlin version which solves that issue.
*/
config.watchOptions = config.watchOptions || {
ignored: ["**/*.kt", "**/node_modules"]
}
if (config.devServer) {
config.devServer.static = config.devServer.static.map(file => {
if (typeof file === "string") {
return {
directory: file,
watch: false,
}
} else {
return file
}
})
}