Changelog History
Page 1
-
v1.1.0 Changes
June 01, 2020Highlights
- Look up the
scalaJSStage
setting from the Scala.js projects to know whether to runfastOptJS
orfullOptJS
. - 0️⃣ Follow Scala.js' defaults, which enable Source Maps for both
fastOptJS
andfullOptJS
. - Put the ScalaJSWeb's
sourceMappings
setting infastOptJS
/fullOptJS
scopes. - ⬆️ Upgrade to Scala.js
v1.1.0
. - Published for Scala.js
v1.1.x
.
💥 Breaking changes
⬆️ There are two breaking changes when upgrading from sbt-web-scalajs
v1.0.x
tov1.1.0
:Set
scalaJSStage
to runfastOptJS
orfullOptJS
🔌 The plugin used to parse the SBT command line to know whether
fastOptJS
orfullOptJS
should be run, which did not require any user interventions. However, parsing the command line has proven to be too fragile and sbt-web-scalajs failed to detect dev commands in certain scenarios.0️⃣ sbt-web-scalajs
v1.1.0
no longer parses the command line, but simply looks up the Scala.js'scalaJSStage
setting. sbt-web-scalajs runsfastOptJS
whenscalaJSStage
equals toFastOptStage
(default value) and runsfullOptJS
whenscalaJSStage
equals toFullOptStage
.🏗 This means that
scalaJSStage
needs to be set toFullOptStage
in the Scala.js projects for which you wishfullOptJS
to be run. As an example, the following command would setFullOptStage
for all the Scala.js projects from the build and runfullOptJS
before packaging your application:sbt 'set scalaJSStage in Global := FullOptStage' universal:packageBin
0️⃣ Source Maps are enabled in
fullOptJS
by default0️⃣ By default, sbt-web-scalajs
v1.0.x
disabled Source Maps infullOptJS
.
0️⃣ sbt-web-scalajsv1.1.0
now follows Scala.js' defaults, which enable Source Maps for bothfastOptJS
andfullOptJS
.Source Maps can be disabled in
fullOptJS
by adding the following line to the Scala.js project's settings:scalaJSLinkerConfig in (Compile, fullOptJS) ~= (_.withSourceMap(false))
Issues
🛠 Fix issues related to the detection of dev commands. sbt-web-scalajs
v1.1.0
now relies onscalaJSStage
to know whetherfastOptJS
orfullOptJS
should be run: - Look up the
-
v1.1.0-0.6 Changes
June 01, 2020- Published for Scala.js
v0.6.x
.
- Published for Scala.js
-
v1.0.11 Changes
February 18, 2020- Published for Scala.js
v1.0.0-RC2
.
- Published for Scala.js
-
v1.0.11-0.6 Changes
February 18, 2020- 🛠 Fixes #55: Source map files (.map) should not been present inside JAR when using prod commands.
- ⬆️ Upgrade to Scala.js
v0.6.32
and SBTv1.3.8
. - Published for Scala.js
v0.6.x
.
-
v1.0.10 Changes
December 15, 2019Published for Scala.js
v1.0.0-RC2
. -
v1.0.10-0.6 Changes
December 15, 2019- ⬆️ Upgrade to Scala.js
v0.6.31
. - Published for Scala.js
v0.6.x
.
- ⬆️ Upgrade to Scala.js
-
v1.0.9 Changes
May 08, 2019- Published for Scala.js
v1.0.0-M7
.
- Published for Scala.js
-
v1.0.9-0.6 Changes
May 08, 2019- ⬆️ Upgrade to Scala.js
v0.6.27
. - Published for Scala.js
v0.6.x
.
- ⬆️ Upgrade to Scala.js
-
v1.0.8 Changes
June 19, 2018- Published for Scala.js v1.x.
-
v1.0.8-0.6 Changes
June 19, 2018- 🌐 Make the codebase compatible with Scala.js v1.0.0-M3 (#45)
- Published for Scala.js v0.6.x.