Skip to content

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

@weswigham

Description

@weswigham

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: ES ModulesThe issue relates to import/export style module behaviordependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions