[wp-trac] [WordPress Trac] #52941: Remove `@babel/polyfill` in favor of `core-js/stable`.
WordPress Trac
noreply at wordpress.org
Mon May 24 15:15:15 UTC 2021
#52941: Remove `@babel/polyfill` in favor of `core-js/stable`.
------------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 5.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+---------------------
Comment (by gziolo):
I guess it should be as simple as publishing the recent changes for
`@wordpress/babel-preset-default` to npm and replacing existing paths to
the two files from the package:
https://github.com/WordPress/wordpress-
develop/blob/95f678bf3df2058553c160db83fd695ea680ed14/tools/webpack/packages.js#L76
https://github.com/WordPress/wordpress-
develop/blob/95f678bf3df2058553c160db83fd695ea680ed14/tools/webpack/packages.js#L91
The updated paths should be:
`@wordpress/babel-preset-default/build/polyfill.js`
`@wordpress/babel-preset-default/build/polyfill.min.js`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52941#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list