[wp-trac] [WordPress Trac] #53690: Build: Split packages and blocks to their webpack configs

WordPress Trac noreply at wordpress.org
Thu Nov 4 15:56:22 UTC 2021


#53690: Build: Split packages and blocks to their webpack configs
--------------------------------------+---------------------
 Reporter:  gziolo                    |       Owner:  gziolo
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  5.9
Component:  Build/Test Tools          |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by gziolo):

 In [changeset:"52011" 52011]:
 {{{
 #!CommitTicketReference repository="" revision="52011"
 Build: Remove polyfills from  block view scripts

 Related changes in Gutenberg:
 https://github.com/WordPress/gutenberg/pull/35038.

 When adding a block with a view.js script, the frontend loads an
 additional ~20kb of scripts that were previously not there. These are
 coming from polyfills that are defined as a dependency for view.js
 scripts.
 Since WordPress dropped support for IE, these polyfills are no longer
 needed and can be removed.

 Follow-up to [51501].
 See #53690.
 Props aristath.
 }}}

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


More information about the wp-trac mailing list