Today I have been experimenting with setting up a nice project structure for web applications using Spray and ScalaJS. First I considered the simplest option of combining them in a single SBT project but this seems to be a bad idea. ScalaJS generates class files and a jar. Mixing this with Scala backend code would result in a bloated jar full of unused code.
Next up I will be trying to see if this can be accomplished or if there is a better way to go about this.