Make WordPress Core

Timestamp:
09/24/2024 07:33:55 AM (17 months ago)
Author:
gziolo
Message:

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.

Location:
trunk/src/wp-includes/assets
Files:
1 added
1 edited

  • trunk/src/wp-includes/assets

    • Property svn:ignore
      •  

        old new  
        11script-loader-packages.php
        22script-loader-react-*.php
         3script-modules-packages.php
Note: See TracChangeset for help on using the changeset viewer.