How to configure Scala.js with Scala 3?

Shockingly there’s nothing I can find on this topic on the Internet.

For example I’ve read (and verified in the Scala 3 source code) that there’s no plugin as the integration is compiled into the dotc compiler. So what I am I suppose to do with the instructions on the Scala.js website that instruct me to add a plugin to the build files?

Answered:

I followed https://www.scala-js.org/doc/tutorial/basic/ and replaced all references to 2.x to 3.x and it seemed to hang together just fine.

Regards, Mark.

2 Likes