Skip to content

[WIP] Migrate to sbt 2.x#191

Draft
tanishiking wants to merge 2 commits intoraquo:masterfrom
tanishiking:sbt2
Draft

[WIP] Migrate to sbt 2.x#191
tanishiking wants to merge 2 commits intoraquo:masterfrom
tanishiking:sbt2

Conversation

@tanishiking
Copy link

@tanishiking tanishiking commented Feb 6, 2026

Depends on

Context: this is kinda experiment to verify scalajs plugin with sbt2 works fine in downstream projects (it seems working good!), if you feel like it's too early to move to sbt2, please ignore this PR (or close for now, I'm willing to open the new one when it's really ready ;)

scalajs-bundler is a bit deprecated, and not maintained recently.
Use the official `@scala-js/vite-plugin-scalajs` instead to bundle Scala.js output with npm dependencies into a single IIFE bundle for mdoc.
Prepare for sbt 2.x

depends on
- scala-js/scala-js#5314
- scala-js/scala-js-env-jsdom-nodejs#63

Context, this is kinda experiment to verify scalajs plugin in sbt2
works fine in downstream projects (it seems working good!),
if you feel like it's too early to move to sbt2, please ignore this PR
until the right time ;)
@raquo
Copy link
Owner

raquo commented Feb 6, 2026

Thanks! I would like to migrate to sbt v2 when its final release drops (maybe a couple patches later actually), but feel free to keep this draft PR open in the meantime. Getting rid of scalajs-bundler is a good move too, I already started on that in my other projects, but in Laminar it's a bit more involved, so thanks for working through that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants