Skip to content

esm: exit the process with an error if loader has an issue

Rodrigo Muino Tomonari requested to merge github/fork/targos/fix-30205 into master

Previously, this would trigger an unhandled rejection that the user cannot handle.

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

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

Merge request reports

Loading