Scala JS cross compilation support


I have been using scala js for quite a while now and there are several solutions that we've worked out in the mailing list for getting projects to cross-compile for both Scala JS and JVM scala while having bits
of code in the project that target one platform or another.

I was wondering if the plugin developers had given thought to supporting this?

Pure ScalaJS projects work pretty well as is. the tricky part is when a project needs to have some files that target just jvm scala and some that target just scala js scala.