react/scripts/babel
Sebastian Markbåge 1ad8d81292
Remove object-assign polyfill (#23351)
* Remove object-assign polyfill

We really rely on a more modern environment where this is typically
polyfilled anyway and we don't officially support IE with more extensive
polyfilling anyway. So all environments should have the native version
by now.

* Use shared/assign instead of Object.assign in code

This is so that we have one cached local instance in the bundle.

Ideally we should have a compile do this for us but we already follow
this pattern with hasOwnProperty, isArray, Object.is etc.

* Transform Object.assign to now use shared/assign

We need this to use the shared instance when Object.spread is used.
2022-02-23 19:34:24 -05:00
..
__tests__ Add comment support to @gate pragma (#21881) 2021-07-14 10:36:24 -07:00
transform-object-assign.js Remove object-assign polyfill (#23351) 2022-02-23 19:34:24 -05:00
transform-prevent-infinite-loops.js [Scheduler] Prevent event log from growing unbounded (#16781) 2019-09-13 15:50:25 -07:00
transform-replace-console-calls.js Use console directly instead of warning() modules (#17599) 2019-12-14 18:09:25 +00:00
transform-test-gate-pragma.js Add comment support to @gate pragma (#21881) 2021-07-14 10:36:24 -07:00