dmmulroy / create-melange-app

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

Closed jchavarri closed 4 months ago

jchavarri commented 5 months ago

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:

image
jchavarri commented 5 months ago

Just realized the PR is missing a couple of things:

jchavarri commented 4 months ago

Both issues should be solved in the last two commits. @dmmulroy if everything's looking good to you, do you think we could publish a new version? 🥺