Our recent few releases of ReScript contains lots of improvements, among which are a few standout features we'd like to further promote. Hope you

ReScript 9.1 | ReScript Blog

submited by
Style Pass
2021-07-10 20:00:23

Our recent few releases of ReScript contains lots of improvements, among which are a few standout features we'd like to further promote. Hope you're as excited as we are about these! It goes without saying, our updated editor plugin works with the new releases.

We took the occasion of the NPM package move to also unify the binaries bsc, bsb and their various commands into a single rescript command:

* However, we've gone even further to improve your experience; in most cases you won't need to invoke build, nor -with-deps anymore! Not only is rescript an alias to rescript build, it also smartly detects whether your dependencies are already built; if not, it builds them automatically.

This means that you can ditch your old -make-world (now the explicit -with-deps flag, for edge-case explicit usages). Just call rescript and everything including dependencies will always be built! As performance is our highest priority, we've ensured that such extra detections does not slow down the build.

This is a feature many of you were probably waiting for. Now you can interop with a JavaScript value that's a limited set of numbers or strings:

Leave a Comment