Starter template for Rescript + Esbuild
yarn dev
Starts bothrescript
compiler andesbuild
in watch mode, and serves web page atlocalhost:5000
yarn build:production
Builds production bundle for browser, outputs bundle todist/bundle.js
with source map.yarn clean
Clean up assets produced by rescript and esbuild.
For different granular options for Esbuild, please checkout their docs: https://esbuild.github.io/getting-started