Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2192,6 +2192,16 @@ object Build {
Compile / scalacOptions += "-Yno-stdlib-patches",
Compile / scalacOptions += "-Yexplicit-nulls",
Compile / scalacOptions += "-scalajs",
// Configure the source maps to point to GitHub for releases
Compile / scalacOptions ++= {
if (isRelease) {
val baseURI = (LocalRootProject / baseDirectory).value.toURI
val dottyVersion = version.value
Seq(s"-scalajs-mapSourceURI:$baseURI->$dottyGithubRawUserContentUrl/$dottyVersion/")
} else {
Nil
}
},
// Packaging configuration of the stdlib
Compile / packageBin / publishArtifact := true,
Compile / packageDoc / publishArtifact := true,
Expand Down
Loading