Scala Language Using with SBT


Example

Sbt dependency

libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "0.9.1" // (Triple %%%)

Running

sbt run

Running with continous compilation:

sbt ~run

Compile to a single JavaScript file:

sbt fastOptJS