Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the error on importing a json document in esm files in moduleResolution: nodenext #47819

Open
weswigham opened this issue Feb 9, 2022 · 0 comments
Labels
dependencies Domain: ES Modules

Comments

@weswigham
Copy link
Member

@weswigham weswigham commented Feb 9, 2022

As of today esm json module support is unflagged in node, which means our moduleResolution: nodenext target should probably no longer issue an error on it when resolveJsonModule is set. It's still appropriate to issue the error for node12, probably.

@weswigham weswigham added Domain: ES Modules dependencies labels Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Domain: ES Modules
Projects
None yet
Development

No branches or pull requests

1 participant