Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(metro-resolver): package exports restricted paths (#1239)
Summary: This PR deals with restricting internal paths through the most specific subpath pattern edge case from #1236 - [x] - added test for implicit default condition to match Node.js resolution algorithm - [x] - aligned implementation of `reduceConditionalExport` to account for implicit default condition Changelog: [Experimental] Fix implicit default condition to be null for subpath patterns (edge case) Pull Request resolved: #1239 Test Plan: - [x] - all tests pass Reviewed By: EdmondChuiHW Differential Revision: D55244268 Pulled By: huntie fbshipit-source-id: e9cddbad2709a90a0282385a1b59ebc03735f975
- Loading branch information