Open anmonteiro opened 1 year ago
Some criteria that we should use for delaying work to the .js generation step:
Aside from the rules above, we should delay as much work as possible.
Hm.
That is, all error checking should be done at the creation of the .cmj …
That seems concerning, unless there's no way for emitting a require
to error? (thinking here in terms of virtual libraries, ocaml/dune#7104.)
Might allow to build more things concurrently, which will improve the Dune build plan, as per https://github.com/ocaml/dune/pull/6698#issuecomment-1353258358