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? 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 compileWithScalaJs = taskKey[Seq[File]]("Compiles with Scala js") compileWithScalaJs := { // call the correct compilation