- run
sbt clean fastOptJS
first time - check generated source map file
./target/scala-2.11/scalajs-wrongsourcemap-fastopt.js.map
, there is such path to source file:this is wrong path!"../src/main/scala/ru/lmars/bundler/Application.scala"
- run
sbt clean fastOptJS
second time - path to source file will be different:
and this is right path!
"../../src/main/scala/ru/lmars/bundler/Application.scala"
- delete directory
./target/scala-2.11
- run
sbt clean fastOptJS
- source file path in .map file is broken again!