[wp-trac] [WordPress Trac] #52941: Remove `@babel/polyfill` in favor of `core-js/stable`.
WordPress Trac
noreply at wordpress.org
Tue Jun 22 23:51:19 UTC 2021
#52941: Remove `@babel/polyfill` in favor of `core-js/stable`.
------------------------------+-----------------------
Reporter: desrosj | Owner: desrosj
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 5.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------
Changes (by desrosj):
* keywords: has-patch needs-testing => has-patch commit
Comment:
After [https://wordpress.slack.com/archives/C02RQBWTW/p1624404225467900
some discussion in Slack], the most recent pull request is the route we're
going to take her.
- Add the `regenerator-runtime` dependency.
- Add it to the Webpack config.
- Add it as a dependency of `wp-polyfill`.
This should fix the issue plugins are experiencing. In a dev note, we'll
call out that developers still needing `regenerator-runtime` should update
their scripts to include this handle as a dependency and Core will remove
this dependency from `wp-polyfill` in a future release.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52941#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list