Index
sbt-splice writes one browser-loadable script from a Scala.js project. No Node, no Vite,
no package.json. Map @JSImport specifiers to pinned bytes, or leave spliceLibs empty.
spliceFull is production minify (pinned esbuild, fetched on first use). spliceFast is concat.
sbt 2 and Scala 3 only. Optional spliceClosure needs JDK 21+.
Install
addSbtPlugin("rocks.earlyeffect" % "sbt-splice" % "0.3.0")Documentation
Continue with: