fix(build): support dynamic package subpath imports - #2746
Conversation
|
/bigbonk review for issues |
commit: |
|
Performance benchmarksCompared 0 improved · 0 regressed · 6 within ±1.5%
View detailed results and traces 🟢 improvement · 🔴 regression · ⚫ change below 1.5% · paired base/head |
|
@james-elicx Bonk workflow was cancelled. View workflow run · To retry, trigger Bonk again. |
|
/bigbonk review for issues |
|
/bigbonk review for issues |
|
/bigbonk review the current PR diff for concrete correctness, security, and downstream compatibility issues. Be concise and post the verdict before the workflow timeout. |
|
UnknownError: ProviderInitError |
|
/bigbonk review the current PR diff for concrete correctness, security, and downstream compatibility issues. Be concise and post the verdict before the workflow timeout. |
|
/bigbonk review only packages/vinext/src/plugins/extensionless-dynamic-import.ts in this PR for concrete correctness and security issues. Do not run tests or inspect unrelated files. Post a concise verdict immediately. |
Review:
|
|
Posted the verdict to PR #2746. Verdict: no blocking correctness or security issues in Key points:
LGTM. |
Summary
package.jsonexports while preserving Node export precedence, conditions, invalid-subpath rules, and array semanticsnode_modulespackages, nested captures, and literal glob metacharacterssetRequestLocaleAPIDownstream reproduction: https://github.com/nodejs/nodejs.org/compare/main...james-elicx:nodejs.org:james/vinext?expand=1
Validation
vp check packages/vinext/src/plugins/extensionless-dynamic-import.ts tests/extensionless-dynamic-import.test.ts tests/ecosystem.test.ts tests/fixtures/ecosystem/next-intlvp test run tests/extensionless-dynamic-import.test.ts(30 tests)vp run vinext#buildvp test run tests/ecosystem.test.ts -t next-intlnpx --no-install vinext buildin the next-intl fixture