Skip to content

Commit fed32b9

Browse files
Fix Scala.JS source map URIs
Dotty publishes release versions without a `v` in the tag, but the Scala.JS source map URI configuration is published with a `v` prefix. This causes incorrect source map URLs like: https://raw.githubusercontent.com/lampepfl/dotty/v3.1.0/library/src/scala/IArray.scala (this is in the current releases JAR). This commit fixes the source map URIs to no longer use the `v` prefix.
1 parent ec43a19 commit fed32b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ object Build {
828828
if (isRelease) {
829829
val baseURI = (LocalRootProject / baseDirectory).value.toURI
830830
val dottyVersion = version.value
831-
Seq(s"-scalajs-mapSourceURI:$baseURI->$dottyGithubRawUserContentUrl/v$dottyVersion/")
831+
Seq(s"-scalajs-mapSourceURI:$baseURI->$dottyGithubRawUserContentUrl/$dottyVersion/")
832832
} else {
833833
Nil
834834
}

0 commit comments

Comments
 (0)