What I learned porting Mastro to Bun

In our last blog post, I talked about What I learned porting Mastro from Deno to Node.js . The next step was of course to get Mastro working on Bun as well. And again, there were some gotchas that took me some time to resolve. Let’s go through them. fs.glob The first thing I immediately ran into was easy to understand. Calling the Node.js fs.glob function with the withFileTypes option in Bun,…