To use this plugin use the addSbtPlugin command within your project's plugins.sbt
file:
addSbtPlugin("io.teamscala.sbt" % "sbt-webjars-packager" % "1.0.0")
For example with build.sbt
:
lazy val root = (project in file(".")).enablePlugins(SbtWeb)
// Downloadable external resources
WebjarsPackagerKeys.resources in Assets += "jquery" ~ "jquery.js" <~ "http://code.jquery.com/jquery.js"
Run the following at the sbt console:
show webjarsPackager