We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0a414e commit 2fa8964Copy full SHA for 2fa8964
build.sbt
@@ -92,6 +92,12 @@ lazy val core =
92
sourceGenerators in Compile += generateMui,
93
sourceGenerators in Compile += generateEui,
94
sourceGenerators in Compile += generateSui,
95
+ mappings in (Compile, packageSrc) ++= {
96
+ val sourceDir = (sourceManaged.value / "main").toPath
97
+ def rel(f: File) = sourceDir.relativize(f.toPath).toString
98
+
99
+ (managedSources in Compile).value map (s ⇒ s → rel(s))
100
+ },
101
libraryDependencies ++= Seq(
102
"com.github.japgolly.scalajs-react" %%% "core" % "1.1.1" withSources (),
103
"com.github.japgolly.scalajs-react" %%% "extra" % "1.1.1" withSources (),
0 commit comments