Search code examples
sbtscala.jsscalajs-bundler

scalajs-bundler does not create the *-fastopt-bundler.js.map" as value


When running val bundle = (Compile / fastOptJS / webpack).value in my build.sbt, I get the following files in the 'bundle':

sources

What I am missing is the -fastopt-bundler.js.map.

If I check target/scala-2.12/scalajs-bundler/main the file is there!

The only setting of my build.sbt is:

webpackBundlingMode := BundlingMode.LibraryAndApplication()


Solution

  • There is an open issue with scalajs-bundler Plugin:

    https://github.com/scalacenter/scalajs-bundler/issues/290