Support for building and including Kotlin (.kt) files. As Kotlin is getting increasingly popular, it makes sense for support to be built-in.
When a .kt file is found, it should be included in the output as a JavaScript file or a WASM file (would be configurable)
The .kt file is just copied into the output directory.
Node packages exist that should be able to build Kotlin files, however after testing kotlin-node could not be installed and node-kotlin would generate an empty zip inside a zip.
Instead kotlinc could be downloaded from JetBrains/kotlin and run with the correct arguments to generate .js files, which could then be inputted back into the system to create the output.
I'm trying to use Kotlin instead of JavaScript or TypeScript because I prefer the language and how it works. As Kotlin can build to both JavaScript and WASM, it can be used as the single programming language in the project, as well as a server system.
N/A
It looks like WebPack has support for Kotlin, so maybe it could be ported over to Parcel.
Feel free to try this and open up a pr
Sent with GitHawk
OK, I've created the pr - #2210
Most helpful comment
OK, I've created the pr - #2210