Open Atry opened 8 years ago
I noticed that the current *.js.map file references https://raw.githubusercontent.com/lihaoyi/scalatags/v0.5.5/js/src/main/scala/scalatags/JsDom.scala , which does not exsist.
*.js.map
A more delicate approach is generating the mapSourceURI option from git metadata instead of hard-coding.
mapSourceURI
This patch use a sbt plugin https://github.com/ThoughtWorksInc/sbt-scala-js-map/ to implement this approach.
I noticed that the current
*.js.map
file references https://raw.githubusercontent.com/lihaoyi/scalatags/v0.5.5/js/src/main/scala/scalatags/JsDom.scala , which does not exsist.A more delicate approach is generating the
mapSourceURI
option from git metadata instead of hard-coding.This patch use a sbt plugin https://github.com/ThoughtWorksInc/sbt-scala-js-map/ to implement this approach.