I'm using sbt-js 0.3 to build a Scalatra web project. I've included the following lines in build.sbt
.
(webappResources in Compile) <+= (resourceManaged in Compile)
(resourceGenerators in Compile) <+= (JsKeys.js in Compile)
(compile in Compile) <<= compile in Compile dependsOn (JsKeys.js in Compile)
When I run compile
the minified files do get generated in the target/scala_2.9.1
folder. But I can't get these files in the war when I use package
(from xsbt-web-plugin) or assembly
(from sbt-assembly). Any ideas?