scalajs-bundler不会将* -fastopt-bundler.js.map“创建为值

时间:2019-04-22 06:53:36

标签: sbt scala.js scalajs-bundler

val bundle = (Compile / fastOptJS / webpack).value中运行build.sbt时,我在“捆绑包”中得到以下文件:

sources

我所缺少的是-fastopt-bundler.js.map

如果我检查target/scala-2.12/scalajs-bundler/main,文件就在那里!

我的build.sbt的唯一设置是:

webpackBundlingMode := BundlingMode.LibraryAndApplication()

1 个答案:

答案 0 :(得分:0)

scalajs-bundler 插件存在未解决的问题:

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