Skip to content

Instantly share code, notes, and snippets.

@parambirs
Last active December 4, 2018 23:20
Show Gist options
  • Save parambirs/d5e63ea82ea1a8cdaac16100c59570d9 to your computer and use it in GitHub Desktop.
Save parambirs/d5e63ea82ea1a8cdaac16100c59570d9 to your computer and use it in GitHub Desktop.
Scala.js notes

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment