Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Patched the loader for files with .js extension #877

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

compile-this
Copy link

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

behaviour of erroring when importing dependencies with commonjs syntax files
to remove warning about out of date dependencies
node code paths for this functionality have changed and no longer
involve the patched loaders
@niksy
Copy link

niksy commented Jan 14, 2021

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

@mk-pmb
Copy link
Contributor

mk-pmb commented May 31, 2021

@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.

Markiz9999 pushed a commit to irls/esm that referenced this pull request Sep 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants