I'm not sure if this quite the right place to ask ...
# javascript
a
I'm not sure if this quite the right place to ask this question, but I'll try anyways. I currently have a backend written with Kotlin and then a frontend (in the same app) written in Typescript (not Kotlin/JS). I'm running into an issue that means I need to bundle my TS files, and I also need to make sure all of these files are included in my built Jar and I just haven't figured out how to do this. The only other solution I can think of is to switch to Kotlin/JS, but I don't want to do that at the moment. Any and all help will be greatly appreciated.
v
As your question is not about using Kotlin at all, but how to package your application, there is most probably no channel at all in this Slack that is appropriate. You should probably as in a community about the build tool you are using.
e
You need a build orchestrator. You may want to look into Nx
Oh, wait. Depends if your TS sources are in the same project/monorepo. If everything is handled through Gradle, for example, you can definitely package additional files into the final JAR.
v
You need a build orchestrator. You may want to look into Nx
Or not. At work we have a wrapping Gradle build that does some generation and other stuff, kicks of the Angular build, and then packs everything together into a deployable archive. Highly depends on situation, needs, and personal preference. But all off-topic here. 🙂
e
Yeah I thought the two sides were living in completely separate spaces. But if they're somehow interconnected, Gradle can do it just fine.