I have a similar pattern for the WebLogger.kt and LoggerFactory.kt... My issue isn't with the pattern, but in general the execution of JavaScript code in the wasmJsMain context. I've tried a few different approaches based on what I've seen online, but nothing's really gotten past
./gradlew wasmJsMain