Closed jchavarri closed 10 months ago
There's a bug in rollup that prevents us to bundle the melange compiler and ocamlformat, see https://github.com/ocsigen/js_of_ocaml/issues/1547 and https://github.com/rollup/rollup/issues/5292.
For now disabling treeshaking, I briefly tried removing vite and use just esbuild but ran into a bunch of separate issues.
ftr difference in main bundle size:
before: 3440614 bytes after: 3530948 bytes
There's a bug in rollup that prevents us to bundle the melange compiler and ocamlformat, see https://github.com/ocsigen/js_of_ocaml/issues/1547 and https://github.com/rollup/rollup/issues/5292.
For now disabling treeshaking, I briefly tried removing vite and use just esbuild but ran into a bunch of separate issues.