Scala.js project structure
Scala.js comes with an sbt plugin that facilitates compiling, running and testing with Scala.js. For a quick start, have a look at our bootstrapping skeleton.
Load the sbt plugin (project/plugins.sbt
)
Enable the plugin on the sbt project (build.sbt
):
If you are using a Build.scala
definition, import the following:
Next we’ll look into the building process in more detail.