node v20.6 solutions
node v20.6 caused some issues. The primary issue was that the newest import.meta.resolve
defined by node has significantly and suddenly changed. The newer import.meta.resolve is less useful and no longer supports the parent param as in the call import.meta.resolve(moduleId, parent)
,
- remove usage of import.meta.resolve,
- only process 'module' and 'commonjs' at the loader
- remove esmockDummy
- resolve any other issues affecting node-v20.6