Skip to content

esm: better error message using commonjs hint

This PR tries to implement the suggestions made in issues:

When a module is not found the error message also reports the path of the module that the CommonJS resolver would have found, if any.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading