Replies: 5 comments 18 replies
-
A specific note on Arman was also mentioning that this is a source of breakage;
|
Beta Was this translation helpful? Give feedback.
-
If we were to in-source Scala.JS support, what I suggest would be to obliterate |
Beta Was this translation helpful? Give feedback.
-
There are three major difficulties that any serious proposal for this will have to address:
|
Beta Was this translation helpful? Give feedback.
-
Anton has just escalated: https://youforgotapercentagesignoracolon.com/ sbt, your move 😝 |
Beta Was this translation helpful? Give feedback.
-
I opened an issue to try and action a (small) step forward on this. |
Beta Was this translation helpful? Give feedback.
-
Feel free to close if this has already been discussed to death, but please link to the discussion.
Proposal
Natively integrate Scala.js and Scala Native (post-1.x) projects into SBT, as part of its metamodel, along with the syntax for cross-platform dependencies
Context
While Scala.js is used in production and a lot of libraries cross-build for it, it's availability as a plugin only makes it difficult to
Manage dependencies safely:
%%%
vs%%
is a constant pain point and can lead to downstream breakages. If it were supported natively in SBT model, build tool would be able to provide rich diagnostics to the user, and detect binary incompatibilities between different SJS/SN versionsCross-build for multiple SJS versions
Integrate/interact with the build tool
??? other reasons
Why
Scala.js is an integral part of Scala ecosystem and, for example, recognised as such in Mill, and it would be excellent if SBT was to integrate deeper with it
How
I have no idea at this point. Let's discuss.
Caveat: Turns out I'm not so good at writing proposals, so I'm hoping to gain feedback from people who actually maintain libraries that crossbuild for SJS.
Interested to hear from @sjrd and @eed3si9n on this.
Sparked by a conversation on Discord with @tpolecat @armanbilge @mpilquist @Daenyth and @SethTisue
Beta Was this translation helpful? Give feedback.
All reactions