Scala JS packaging

Warning

This is no official scala js doc, but created from the native-packager community. See issue-699.

Package webjars and scalajs resources

In order to package all assets correctly, add this to your project

Runtime / managedClasspath += (Assets / previewJVM / packageBin).value