sbt tasks > run > fastOptJS Generates a single JS file. > fullOptJS Generates JS with full optimization (using Google closure compiler) Set Fast/Full optimization in SBT > set scalaJSStage in Global := FullOptStage > set scalaJSStage in Global := FastOptStage