Skip to content

Commit 6e43c31

Browse files
committed
Add FAQ about ScalaJS version
1 parent a12f44f commit 6e43c31

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/faq.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,14 @@ ThisBuild / tlSonatypeUseLegacyHost := false
9595
## How do I publish a website like this one?
9696

9797
Check out the [**sbt-typelevel-site**](site.md) plugin.
98+
99+
## How do I manage my ScalaJS version?
100+
101+
We recommend explicitly setting your ScalaJS version in `project/plugins.sbt`.
102+
103+
```
104+
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.10.0")
105+
```
106+
107+
**sbt-typelevel** ships with a conservative ScalaJS version to enable certain settings.
108+
If one of your dependencies requires a newer ScalaJS version you may experience failures in the `scalaJSLink` CI step.

0 commit comments

Comments
 (0)