-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Instead of requiring a new file (object-assign-polyfill) which modifies the Object prototype, what if you used babel-plugin-transform-object-assign? It will rewrite Object.assign into _extends and inline a small helper function. It's fewer bytes for "fallback" and takes advantages of existing build tools.
Did you look into this approach before?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels