[wp-trac] [WordPress Trac] #52941: Remove `@babel/polyfill` in favor of `core-js/stable`.
WordPress Trac
noreply at wordpress.org
Mon Jun 14 23:16:42 UTC 2021
#52941: Remove `@babel/polyfill` in favor of `core-js/stable`.
------------------------------+----------------------
Reporter: desrosj | Owner: desrosj
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 5.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
------------------------------+----------------------
Changes (by desrosj):
* owner: (none) => desrosj
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"51146" 51146]:
{{{
#!CommitTicketReference repository="" revision="51146"
Build/Test Tools: Replace the deprecated `@babel/polyfill`.
This replaces the dependency of the deprecated `@babel/polyfill` package
with the `core-js` package through `@wordpress/babel-preset-default`.
Previously, the file consisted of a generalized group of polyfills, and
not all of them were required. This change allows the contents of this
file to be built according to the exact needs as dictated by the
`@wordpress/babel-preset-default` package, which takes into account the
current browser support.
Props gziolo, youknowriad.
Fixes #52941.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52941#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list