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

WordPress Trac noreply at wordpress.org
Wed Jun 16 14:38:10 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         |     Focuses:
------------------------------+-----------------------
Changes (by gziolo):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 @jeherve, I think the same issue was raised in #core-editor channel on
 WordPress Slack today:
 https://wordpress.slack.com/archives/C02QB2JS7/p1623850913102100

 > Hello all! With 5.8-beta2 , in a site with my block plugin, when I try
 to edit a post I get this error Uncaught ReferenceError:
 `regeneratorRuntime` is not defined Is this expected? Is there an easy way
 to fix this? Thank you in advance

 The solution should be adding `regeneratorRuntime` as the dependency for
 `wp-polyfill`. It was previously included in `@babel/polyfill`.

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


More information about the wp-trac mailing list