I updated my project with kotlin 1.9.20-Beta2 and ...
# javascript
a
I updated my project with kotlin 1.9.20-Beta2 and it looks like my js code not exported. in 1.9.10 I've got this in my kotlin js:
Copy code
//region block: exports
  function $jsExportAll$(_) { ... }
  $jsExportAll$(_);
  kotlin_ai_app_tools.$jsExportAll$(_);
  kotlin_ai_app_types.$jsExportAll$(_);
  kotlin_ai_app_core.$jsExportAll$(_);
  //endregion
  return _;
but with 1.9.20-Beta2:
Copy code
//region block: exports
  function $jsExportAll$(_) { ... }
  $jsExportAll$(_);
  //endregion
  return _;
my dependencies in gradle:
Copy code
sourceSets {
        val commonMain by getting {
            dependencies {
                implementation(kotlin("stdlib"))
                implementation(project(":common:tools"))
                implementation(project(":common:core"))
                implementation(project(":common:types"))

                // coroutines
                implementation(libs.bundles.kotlinx.coroutines.core)

                implementation(libs.bundles.kotlinx.serialization)
            }
        }
   }
and js config:
Copy code
js(IR) {
    browser { testTask { useMocha { this.timeout = "5s" } } }

    compilations.all {
        kotlinOptions {
            sourceMap = true
            sourceMapNamesPolicy = null
            main = "noCall"
            moduleKind = "es"
            useEsClasses = true
        }
    }

    generateTypeScriptDefinitions()
    binaries.library()
}
What did I miss?
a
For the commonJS modules it should reexport everything. Could you please create an issue in YouTrack. I will take a look on the problem.