We’d like to support Bun 1.3 out of the box with ReScript. A small reproducer where it fails makes it much easier to start investigating. I’m part of the ReScript core team and worked on the new build system, and I’m a Bun user, so I have a stake in this. My time is limited, so the more ready-to-investigate samples there are, the easier it is for me to dive in. Once the problem is fixed, we can keep it working over time by using this end-to-end repo.
Not really. When running rescript clean, files without matching .res will not be removed, so you don’t need to worry about regular JS files being deleted. I used .js so Bun would pick up the tests. It might also be configurable via bunfig.toml, I didn’t check.