Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw precompilation error if dependency load failure during incremen…
…tal precompilation In rare cases, if we fail to load a dependency during precompilation, we can fall-through to the "load locally" fallthrough in `_require()`. However, if this happens during incremental precompilation, this ends up emitting `.ji` files that have multiple modules embedded within, which can cause massive precompilation issues further down the chain, as dependencies which try to load our `.ji` file themselves get corrupted. This catches the error at the source, refusing to generate such a `.ji` file in the first place.
- Loading branch information