Skip to content

src: expose `LookupAndCompile` with parameters

Refs https://github.com/nodejs/node/pull/44018.

This PR exposes a version of LookupAndCompile that takes parameters instead of detecting them based on module IDs.

Electron currently maintains a wrapper to LookupAndCompile, which specifically requires parameters because we pass our own modules to LookupAndCompile in several places:

and therefore need to be able to able to expose the ability to set that.

Merge request reports

Loading