Open steinybot opened 3 years ago
The Scala.js builds are including relative paths to sources on the developers machines.
For example: ../../../../../../../../../home/nick/Forks/scala.rx/scalarx/shared/src/main/scala/rx/Ctx.scala
../../../../../../../../../home/nick/Forks/scala.rx/scalarx/shared/src/main/scala/rx/Ctx.scala
I am trying to write a webpack loader which can fetch these sources but these paths obviously don't exist.
Strange, the source maps should point at github: https://github.com/lihaoyi/scala.rx/blob/master/build.sbt#L78
This is how cats is doing it:
https://github.com/typelevel/cats/blob/master/build.sbt#L210
The Scala.js builds are including relative paths to sources on the developers machines.
For example:
../../../../../../../../../home/nick/Forks/scala.rx/scalarx/shared/src/main/scala/rx/Ctx.scala
I am trying to write a webpack loader which can fetch these sources but these paths obviously don't exist.