fix(build): don't path-resolve bare specifier aliases (#1507)#1843
Conversation
|
/bigbonk review for issues |
commit: |
|
|
/bigbonk review for issues |
|
@james-elicx Bonk workflow was cancelled. View workflow run · To retry, trigger Bonk again. |
/bigbonk review — PR #1843Verdict: LGTM. The fix is correct, minimal, and well-tested. What the change does
Verification
Minor / non-blocking observations
No correctness or dev/prod-parity issues found. Good test coverage, clear JSDoc linking back to #1507. |
|
Review posted to PR #1843. SummaryVerdict: LGTM — the fix is correct, minimal, and well-tested. The change fixes #1507 cleanly. Verification I did:
Non-blocking notes flagged in the review: Windows backslash relative paths and non-string webpack alias values are both pre-existing limitations, not regressions introduced by this PR. |
Fixes #1507 —
experimental.esmExternalsbuilds failed withNo such file or directorybecausenormalizeAliasEntriesranpath.resolveon every alias value, turning bare package specifiers into bogus absolute paths. Now only.//..//absolute values are resolved; bare specifiers pass through verbatim (matching the existingindex.ts:1250convention). Tests added; all 174 pre-existing config tests pass. Closes #1507