Get started with sbt CDN

Apache-2.0 licensed

SBT is a Build Tool for Scala and Java projects, not a library.

Tags:
  • sbt

Stable version

Copied!

How to start using sbt CDN


name := "MyProject"

version := "0.1.0"

scalaVersion := "2.13.6"

libraryDependencies ++= Seq(
  "org.scala-js" %% "scalajs-dom" % "1.2.6",
  "com.typesafe.sbt" %% "sbt-scalajs" % "1.5.1",
  "com.typesafe.sbt" %% "sbt-web" % "1.3.11",
  "dojo" %%% "dojo" % "1.13.1" cross Cross(jsEnvs.all),
  "dojo-circuits" %%% "dojo-circuits" % "1.7.11" cross Cross(jsEnvs.all)
)

jsDependencies ++= Seq(
  "https://cdn.cdnhub.io/sbt/1.1.12.20161007-1200/sbt-core-dojo-amd.js"
)

autoCompilerPlugin := true

main := Compile / main
Copied!
Copied!
Copied!
Copied!

All versions