| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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.
|
Review requested:
|
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #60864 +/- ##
==========================================
- Coverage 88.54% 88.51% -0.04%
==========================================
Files 703 703
Lines 208262 208393 +131
Branches 40170 40198 +28
==========================================
+ Hits 184408 184454 +46
- Misses 15861 15928 +67
- Partials 7993 8011 +18
... and 43 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
|
From the perspective of adding support for a new module resolution flavour to TS et al, should this either be semver-major or >=v25.x-only? |
Sorry, something went wrong.
Since this only turns a previous import error into a non-error case, this seems safe to backport pretty aggressively. From the TS perspective, I would expect it to show up in the bundler mode eventually? If TS doesn't actively allow it in node20 mode etc. that doesn't seem like a huge issue. |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
|
CI is clean. Added a change entry to the docs for subpath imports to track version support for this change. |
Sorry, something went wrong.
There was a problem hiding this comment.
I think this is fine, but did we dig up the reason for the exclusion in the first place?
Sorry, something went wrong.
|
Short answer: no. I did try to look around a bit but I couldn't really find one. The behavior was introduced in the original PR (#34117) and @guybedford's reason seemed to be caution but not necessarily explicit risks:
|
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
|
@hybrist just curious, has this yet been backported to v24 branch? |
Sorry, something went wrong.
It doesn't require backporting, but won't land in v24.x until it's been landed on the active branch for a period first. |
Sorry, something went wrong.
|
@nodejs/moderation is there something we can do to stop this spamming of references from this @chrisbbreuer. |
Sorry, something went wrong.
|
Thanks for notifying me. This "chrisbbreuer" will resolve it. On a different note, we are civilized people @ovflowd. Keep your passive aggressive tone to yourself because this clearly wasn't an intention. |
Sorry, something went wrong.
With all due respect, you spammed 200+ comments on this repository. You have no say here and I couldn't care less about your demands. (Don't invade someone's else's home and start demanding things in a passive aggressive tone yourself) On a different note, I'm not a native English speaker, the "this" preceding your handle was my attempt of not assuming your pronouns. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
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.
See: #49182