Closed gajus closed 3 weeks ago
Actually, this invocation is coming from:
const setters = await processModule({
srcUrl: modUrl,
context,
parentGetSource,
excludeDefault: true
})
parentResolve
is not passed here, so it is indeed undefined.
Expected Behavior
import-in-the-middle
to work.Actual Behavior
This is the line where it happens:
If I inject
console.log({parentResolve, modFile});
before, it prints:Appears to be some sort of race condition.
Steps to Reproduce the Problem
N/A
Specifications