I wanted bsc because it exposes an interface that deals with individual module.
There is a significant difference between bsc and babel.
bsc needs to compile its dependencies before itself, there is no such requirement for babel. So you would see a lot of babel plugins for webpack, but this model does not work with rescript.
If we can expose a stable granular API from rescript
Ah, yes, I should have called out Bazel more clearly.
Oh wow, your work looks much more up-to-date. Thanks for sharing! Seems you have a much better grasp of the workings of Bazel than I do. I did have a play around and was able to get fairly basic things building with bsb… but it’s very limited.