Remove unused dependency to scalajs-dom#2681
Conversation
|
Darn, it's never easy. |
|
So annoyingly it seems that ScalablyTyped has convoluted the |
stUseScalaJsDom := false also behaves like "stUseScalaJsStdLib := false"
ScalablyTyped/Converter#372
|
Are we shading the SJS standard library now? Does the resulting artifact remain interoperable with folks using the SJS standard library? |
Not really. There's just another set of facades (under our internal namespace) for the same underlying Javascript types. At the Scala level these appear to be unrelated classes, even though they are modelling the same Javascript types. See for example this line which converts between the SJS std lib facade for
Yes. In fact, we're still using the SJS standard library ourselves. This change affects only how we interact with our internal, private Node.js facade. |
I was pretty shocked to find fs2-io the top user of scalajs-dom for browsers...
https://mvnrepository.com/artifact/org.scala-js/scalajs-dom/usages