Skip to content

Conversation

@merceyz
Copy link
Member

@merceyz merceyz commented Aug 21, 2022

What's the problem this PR addresses?

JSON modules were unflagged in nodejs/node#41736 so we need to do the same in our loader.

Fixes #4245

How did you fix it?

Updated the ESM loader to allow importing JSON modules.

Checklist

  • I have read the Contributing Guide.
  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.
@merceyz merceyz added the esm label Aug 21, 2022
@merceyz merceyz force-pushed the merceyz/fix/esm-unflagged-json-modules branch from 1ec3023 to ae70853 Compare August 21, 2022 17:12
@arcanis arcanis merged commit e0d8a1b into master Aug 21, 2022
@arcanis arcanis deleted the merceyz/fix/esm-unflagged-json-modules branch August 21, 2022 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants