lhns / sbt-scalajs-webjar   0.5.0

Apache License 2.0 GitHub

Build webjars from scalajs projects

Scala versions: 2.13 2.12
Scala.js versions: 1.x
sbt plugins: 1.0


build Release Notes Maven Central Apache License 2.0 Scala Steward badge

Allows you to build WebJars from Scala.js projects.


addSbtPlugin("de.lhns" % "sbt-scalajs-webjar" % "0.5.0")


lazy val shared = crossProject(JSPlatform, JVMPlatform).crossType(CrossType.Pure).in(file("shared"))

lazy val sharedJs = shared.js
lazy val sharedJvm = shared.jvm

lazy val frontend = project.in(file("client"))

lazy val frontendWebjar = frontend.webjar

lazy val server = project.in(file("server"))


This project uses the Apache 2.0 License. See the file called LICENSE.