Skip to content

esm: remove specifier resolution flag#44859

Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom
GeoffreyBooth:remove-experimental-specifier-resolution
Oct 4, 2022
Merged

esm: remove specifier resolution flag#44859
nodejs-github-bot merged 1 commit intonodejs:mainfrom
GeoffreyBooth:remove-experimental-specifier-resolution

Conversation

@GeoffreyBooth
Copy link
Copy Markdown
Member

This removes the --experimental-specifier-resolution flag. The loaders team has been planning on removing this as soon as it became possible to replicate the behavior via a custom loader, and today it is: https://github.com/nodejs/loaders-test/tree/main/commonjs-extension-resolution-loader. That loader passes the same tests as the flag’s tests from the Node codebase. This PR both removes the flag and adds a reference to that loader to the docs.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. esm Issues and PRs related to the ECMAScript Modules implementation. experimental Issues and PRs related to experimental features. lib / src Issues and PRs related to general changes in the lib or src directory. loaders Issues and PRs related to ES module loaders module Issues and PRs related to the module subsystem. needs-ci PRs that need a full CI run. notable-change PRs with changes that should be highlighted in changelogs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.