[wp-trac] [WordPress Trac] #60962: Remove now unnecessary polyfill dependencies

WordPress Trac noreply at wordpress.org
Thu May 16 16:43:12 UTC 2024


#60962: Remove now unnecessary polyfill dependencies
---------------------------------------------+--------------------------
 Reporter:  swissspidy                       |       Owner:  swissspidy
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  6.6
Component:  Script Loader                    |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch commit needs-dev-note  |     Focuses:  performance
---------------------------------------------+--------------------------

Comment (by swissspidy):

 In [changeset:"58162" 58162]:
 {{{
 #!CommitTicketReference repository="" revision="58162"
 Script Loader: Disable `injectPolyfill` flag in webpack config.

 This is a follow-up to [57981] to ensure that `wp-polyfill` is no longer
 automatically added as a dependency to package scripts. This avoids
 unnecessarily loading the polyfill script in places such as the block
 editor.

 See #60962.
 }}}

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


More information about the wp-trac mailing list