-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix module identity preservation with symlinks and browser field resolution #9511
Conversation
I see a few ways of fixing this issue:
I'm happy to do any of these. |
Hey @rtsao, thanks for the PR! Of the 3 options you outline, 3 sounds the best, especially as (like you note) upstream seems somewhat unmaintained. It does impose a maintenance burden though. I opened up #9505 yesterday, where I bring up using the |
@SimenB Do you have thoughts on the best way to set up an e2e test for this? Perhaps a script that generates the symlinked packages in |
Codecov Report
@@ Coverage Diff @@
## master #9511 +/- ##
=========================================
- Coverage 65.01% 65% -0.01%
=========================================
Files 283 283
Lines 12148 12151 +3
Branches 3009 3010 +1
=========================================
+ Hits 7898 7899 +1
- Misses 3607 3608 +1
- Partials 643 644 +1
Continue to review full report at Codecov.
|
Co-Authored-By: Simen Bekkhus <[email protected]>
Thanks! |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Fixes #9510 Fixes #7840
Test plan
I've added an e2e test with the same setup as the minimal reproduction in https://github.com/rtsao/jest-bug-repro-preserve-symlinked-module-ids