dillon1000/react
Commit
Browse files Standardize condition order so that edge-lite preferred over browser (#29877)
The export maps for react packages have to choose an order of preference. Many runtimes use multiple conditions, for instance when building for edge webpack also uses the browser condition which makes sense given most edge runtimes have a web-standards based set of APIs. However React is building the browser builds primarily for actual browsers and sometimes have builds intended for servers that might be browser compat. This change updates the order of conditions to preference specific named runtimes > node > generic edge runtimes > browser > default
Changed paths1 file
First-parent comparisonpackages/react-dom/package.json ModifiedPatch
Files changed
Rendering syntax-highlighted changes…