How to build https://cdn.rescript-lang.org/$version/compiler.js

  1. Rescript playground appears to depend on this file.
  2. The rescript playground repo does not appear to build this file.
  3. How do we manually build this file ?

Thanks!

Is this what you’re after? rescript-compiler/CONTRIBUTING.md at master · rescript-lang/rescript-compiler · GitHub

These instructions are valid for the 10.1 release, but will need to be adapted for the dune-based build setup on master / 11.x. This is still on my TODO list.

@zth : That looks like precisely what I need. Thanks! Looks like all that time playing with jsoo will come in handy too dealing with this.

@cknitt: Thanks for letting me know. I’ll stick with 10.1.x for now.

Thanks!