Skip to content

Instantly share code, notes, and snippets.

@sjrd
Created December 9, 2017 21:02
Show Gist options
  • Save sjrd/b3b562a2d7eed1e937ac0c7d371c3a7d to your computer and use it in GitHub Desktop.
Save sjrd/b3b562a2d7eed1e937ac0c7d371c3a7d to your computer and use it in GitHub Desktop.
Trying to reproduce https://github.com/scala-js/scala-js/issues/3218 (no luck so far)
enablePlugins(ScalaJSPlugin)
scalaVersion := "2.12.4"
scalaJSUseMainModuleInitializer in Test := true
scalaJSModuleKind := ModuleKind.CommonJSModule
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.21")
object TmpApp {
def main(args: Array[String]): Unit = {
println("asdf")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment