[wp-trac] [WordPress Trac] #52941: Remove `@babel/polyfill` in favor of `core-js/stable`.

WordPress Trac noreply at wordpress.org
Mon Jun 21 19:34:03 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 needs-testing  |     Focuses:
-------------------------------------+-----------------------
Changes (by desrosj):

 * keywords:  has-patch => has-patch needs-testing


Comment:

 @herregroen I quite like your suggestion of making the old `wp-polyfill`
 handle one that just loads the two required files. I've opened a new PR
 with an alternative approach.

 I also think it's worth leaving the old `wp-polyfill.js`/`wp-
 polyfill.min.js` files in Core, just in case someone is attempting to load
 these directly.

 @gziolo could you also give this a look?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52941#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list