You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a conventional 'best-effort' approach for loading ESM modules
dynamically and dealing with the asynchronicity.
With some refactoring of the configuration loader logic, instead
`lib/nodejs/esm-utils.js::requireOrImport` could be reutilized deduplicating any
logic in regards to handling ESM. ESM support in Node.js is stable and I doubt
there will be any major changes to the way it is supported, but still,
deduplication is always nice, and there might be some slight adjustments to the
Node.js module resolution algorithm (https://nodejs.org/api/esm.html#resolution-algorithm)
Implements: #5049
0 commit comments