[No QA] fix(environment): resolve module resolution error after renaming to EnvironmentContext - #71318
Conversation
…nvironmentContext
|
@brunovjk fixed this webpack wired issue comment This bug was caused by Webpack’s module resolution getting confused between By switching imports to the exact file (src/libs/Environment/getEnvironment), we avoid ambiguous paths and ensure reliable resolution. |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppN/A Android: mWeb ChromeN/AiOS: HybridAppN/AiOS: mWeb SafariN/AMacOS: DesktopN/A |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.2.20-0 🚀
|
|
@roryabraham do we need to run this in console? Or this is Internal QA? |
|
No QA. Storybook has been broken on staging for a long while |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.2.20-4 🚀
|

Explanation of Change
Fixed Issues
$ #66840
PROPOSAL: #66840 (comment)
Tests
npm run storybookOffline tests
Same as Tests
QA Steps
Same as Tests
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
None
Android: mWeb Chrome
None
iOS: Native
None
iOS: mWeb Safari
None
MacOS: Chrome / Safari
None
MacOS: Desktop
None