Skip to content

repl: fix referrer for dynamic import

The ESM loader does not accept a directory as the referrer, it requires a path within the directory. Add /repl to ensure relative dynamic imports can succeed.

Fixes: https://github.com/nodejs/node/issues/19570

Checklist

Merge request reports

Loading