andylamax
09/05/2021, 6:47 AMCLOVIS
09/05/2021, 11:10 AMJoffrey
09/07/2021, 12:21 AMwindow should not be available in node environment, and process should not be available in browser environment. Maybe other targets exist, but the more important thing is that those platform specific Kotlin bindings are only present in the right places (to avoid stupid runtime errors)
2. share common Kotlin/JS code among all JS targets (node, browser, etc.), and declare independent sets of dependencies for different targets