You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes an issue where certain node_modules configurations (pnpm, yarn pnp) could cause the preset to error due to missing dependencies. Thanks for @wmertens for the fix!
@babel/preset-modules version 0.1.1 changes the behavior of JSX to fix compatibility with Edge 16-18. This preset originally compiled JSX Spread attributes to Object Spread expressions, however these are not supported in Edge. Instead, as of 0.1.1 JSX Spread is now transpiled to Object.assign() calls:
The raw byte size has increased slightly, but this increase shrinks to near-0 when compressed using Gzip or Brotli, since the repeated Object.assign( calls are essentially free.