standard-things / esm

Tomorrow's ECMAScript modules today!
Other
5.26k stars 146 forks source link

Patched the loader for files with .js extension #877

Open compile-this opened 4 years ago

compile-this commented 4 years ago

This prevents the new default behaviour in Node 12+ of erroring when importing dependencies with commonjs syntax files from an ESM module.

See issue #868

niksy commented 3 years ago

What is the status of this PR? What can we do to get this merged?

mk-pmb commented 3 years ago

@niksy Currently, the CI tests fail, so someone would need to fix those. I also installed it locally and had the same error as in #898.