Join Slack
Powered by
Is it possible to compile kotlin to js file with `...
# javascript
l
lewik
09/06/2017, 10:12 AM
Is it possible to compile kotlin to js file with `export`s? (edited)
k
konsoletyper
09/06/2017, 10:13 AM
What do you mean?
k
karelpeeters
09/06/2017, 10:13 AM
Yes, pick CommonJS as the modulekind, see
https://kotlinlang.org/docs/tutorials/javascript/working-with-modules/working-with-modules.html#using-commonjs
.
karelpeeters
09/06/2017, 10:14 AM
Assuming that's what you meant of course ☺️
l
lewik
09/06/2017, 12:37 PM
@karelpeeters
@konsoletyper
I'll try. I just want to use generated file in "import" statement in new EcmaScript
6
Views
Open in Slack
Previous
Next