What is the standard/easiest way to make a normal scala library (sbt) available for scala.js (also sbt)? Do I just copy/fork the source files into a scala.js project and build that or is there any smart way to 'wrap' a JVM Scala library and make it usable in a scala.js application?
I am asking because there is an open-source library for JVM scala that I want to use in a scala.js application. I have already copied the .scala files and modified them a bit and everything works fine for now, but this approach seems a bit too 'straight-forward'/clumsy.