com-lihaoyi / scalatags

ScalaTags is a small XML/HTML construction library for Scala.
https://com-lihaoyi.github.io/scalatags/
MIT License
758 stars 117 forks source link

Fix js.map file #120

Open Atry opened 8 years ago

Atry commented 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.

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.