Join Slack
Powered by
I’ve been struggling a bit, I have a single Kotlin...
# javascript
b
Bernardo Ferrari
09/18/2023, 2:43 AM
I’ve been struggling a bit, I have a single Kotlin file that I want to compile to JS (so that I can import in a NextJS project), is there a single command line way?
🚫 2
m
Mike Dawson
09/18/2023, 7:27 AM
Can be done but takes more than a single command. Not something I have done for a while. See
https://kotlinlang.org/docs/js-to-kotlin-interop.html
b
Bernardo Ferrari
09/18/2023, 8:02 PM
yeah 😞 it is sooo hard, I guess I’ll just rewrite in TS. Goodbye Kotlin.
3
Views
Open in Slack
Previous
Next