Dhaval Shah
12/20/2025, 11:18 AM@JsExport in multi module KMP project setup:
There is a domain module which has an AuthStatus Enum with @JsExport
There is another login module which uses domain module internally.
login module is exported as binaries.library()
js(IR) {
browser()
binaries.library()
}
---
There is a react app which uses exported library of login. Now, when I try to access AuthStatus enum, it gives error in console saying "loginApp.mjs' does not provide an export named 'AuthStatus'"
What can be the reason here? Is there any specific setup needed for exports while working with multi module project setup?Edoardo Luppi
12/20/2025, 11:48 AMDhaval Shah
12/20/2025, 3:35 PMEdoardo Luppi
12/20/2025, 4:48 PM