Open EvanBacon opened 1 year ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
6151e7e
) 83.09% compared to head (3fd29e3
) 83.09%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary
One possible way to implement tree shaking would require calling collectDependencies with
unstable_disableModuleWrapping
for a first pass, and invoking it a second time with module wrapping. The issue with this is that the require.context mutation is mutated to a format that wouldn't work on subsequent runs.This PR will prevent the additional mutation of
require.context
->require
.Test plan
Tests continue working