◐ Shell
clean mode source ↗

module: allow subpath imports that start with `#/` by hybrist · Pull Request #60864 · nodejs/node

It's a common ecosystem pattern to map a source root directory to
`@/` but it requires special tooling support. This turns `#/*` into
a more realistic alternative for that pattern.

@nodejs-github-bot added esm

Issues and PRs related to the ECMAScript Modules implementation.

needs-ci

PRs that need a full CI run.

labels

Nov 26, 2025

guybedford

@hybrist hybrist added semver-minor

PRs that contain new features and should be released in the next minor version.

author ready

PRs that have at least one approval, no pending requests for changes, and a CI started.

labels

Dec 1, 2025

@hybrist hybrist changed the title module: allow internal imports that start with #/ module: allow subpath imports that start with #/

Dec 1, 2025

@hybrist

GeoffreyBooth

himself65

gurgunday

@gurgunday gurgunday added the module

Issues and PRs related to the module subsystem.

label

Dec 2, 2025

This was referenced

Dec 29, 2025

This was referenced

Dec 30, 2025

@nodejs nodejs locked as too heated and limited conversation to collaborators

Dec 31, 2025