How can scala-js integrate with sbt-web?
问题 I would like to use scala-js with sbt-web in such a way that it can be compiled to produce javascript assets that are added to the asset pipeline (e.g. gzip, digest). I am aware of lihaoyi's workbench project but I do not believe this affects the asset pipeline. How can these two projects be integrated as an sbt-web plugin? 回答1: Scala-js produces js files from Scala files. The sbt-web documentation calls this a Source file task. The result would look something like this: val