[wp-trac] [WordPress Trac] #60647: Script Modules: Allow modules to depend on existing WordPress scripts
WordPress Trac
noreply at wordpress.org
Tue Sep 24 07:34:11 UTC 2024
#60647: Script Modules: Allow modules to depend on existing WordPress scripts
--------------------------------------+-------------------------
Reporter: jonsurrell | Owner: jonsurrell
Type: feature request | Status: assigned
Priority: normal | Milestone: 6.7
Component: Script Loader | Version: 6.5
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: javascript
--------------------------------------+-------------------------
Comment (by gziolo):
In [changeset:"59083" 59083]:
{{{
#!CommitTicketReference repository="" revision="59083"
Build: Prepare for more Script Modules
This is a companion to https://github.com/WordPress/gutenberg/pull/65460
that requires syncing in WordPress Core. Namely, the block-library changes
require registration with their updated script module IDs so that the
blocks continue to work correctly.
They key improvement is script modules registration is handled in one
central place, and a combined asset file is used to improve the
performance by avoiding multiple disk operations for every individual
file.
Props jonsurrell, gziolo, wildworks, noisysocks.
See #60647, #59462.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60647#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list