This repository was archived by the owner on Sep 2, 2023. It is now read-only.
This repository was archived by the owner on Sep 2, 2023. It is now read-only.
12 LTS backporting of ERR_REQUIRE_ESM #468
Closed
Description
@MylesBorins did some amazing work this weekend and got the full modules implementation (minus the unflagging of --experimental-modules
) fully backported to 12 staging (https://github.com/nodejs/node/tree/v12.x-staging). Opening this issue to discuss one of the backport details on the module agenda this week.
Specifically - should we flag the ERR_REQUIRE_ESM
errors that are thrown for .mjs
and scopes? These result in library bugs like the following respectively - standard-things/esm#855, eslint/eslint#12319. Alternatively should we turn these errors into warnings?
Metadata
Metadata
Assignees
Labels
No labels