Persisted instance of the Scala.
Persisted instance of the Scala.js linker.
This setting must be scoped per project, configuration, and stage task
(fastOptJS
or fullOptJS
).
If a task uses the link
method of the ClearableLinker
, it must be
protected from running in parallel with any other task doing the same
thing, by tagging the task with the value of usesScalaJSLinkerTag
in the same scope. The typical shape of such a task will be:
myTask in (Compile, fastOptJS) := Def.taskDyn { val linker = (scalaJSLinker in (Compile, fastOptJS)).value val usesLinkerTag = (usesScalaJSLinkerTag in (Compile, fastOptJS)).value // Read the `.value` of other settings and tasks here Def.task { // Do the actual work of the task here, in particular calling linker.link(...) }.tag(usesLinkerTag) }.value,
The current version of the Scala.
The current version of the Scala.js sbt plugin and tool chain.
Prints the content of a .
Prints the content of a .sjsir file in human readable form.
All .
All .sjsir files on the fullClasspath, used by scalajsp.
A tag to indicate that a task is using the value of scalaJSLinker
and its link
method.
A tag to indicate that a task is using the value of scalaJSLinker
and its link
method.
This setting's value should always be retrieved from the same scope than scalaJSLinker was retrieved from.