The fastest, friendliest, and most delightful way to get started with OCaml, ReasonML, and Melange, geared towards JavaScript and TypeScript developers
121
stars
20
forks
source link
Add esbuild to the list of available bundlers #107
esbuild is fast (building cma app takes 58ms), and quite simple to set up. It also works very similarly in watch / dev mode than in regular build mode, which could be beneficial for integrations like the one spec'ed in #83.
I wasn't sure how to test, I just followed the instructions in CONTRIBUTING.md and created a new template. Then made sure the scripts in package.json worked:
Ditto.
esbuild is fast (building cma app takes 58ms), and quite simple to set up. It also works very similarly in watch / dev mode than in regular build mode, which could be beneficial for integrations like the one spec'ed in #83.
I wasn't sure how to test, I just followed the instructions in CONTRIBUTING.md and created a new template. Then made sure the scripts in package.json worked: