[wp-trac] [WordPress Trac] #52946: Replace deprecate @babel/polyfill package
WordPress Trac
noreply at wordpress.org
Wed Mar 31 05:34:36 UTC 2021
#52946: Replace deprecate @babel/polyfill package
--------------------------------+--------------------
Reporter: gziolo | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.8
Component: External Libraries | Version: trunk
Severity: normal | Keywords:
Focuses: javascript |
--------------------------------+--------------------
Extracted from #52854.
Related issues in Gutenberg repository with more details:
https://github.com/WordPress/gutenberg/issues/22417.
According to https://babeljs.io/docs/en/babel-polyfill, @babel/polyfill
got deprecated
It looks like we need to create a webpack entry point that imports `core-
js` and `regenerator-runtime`.
{{{
import 'core-js/stable';
import 'regenerator-runtime/runtime';
}}
They aren't defined as dependencies in `package.json` at the moment.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52946>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list