[wp-trac] [WordPress Trac] #64909: `assets/script-*-packages.min.php` files are not minified
WordPress Trac
noreply at wordpress.org
Fri Mar 20 04:16:51 UTC 2026
#64909: `assets/script-*-packages.min.php` files are not minified
------------------------------+----------------------
Reporter: desrosj | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 7.0
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
------------------------------+----------------------
Changes (by desrosj):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"62072" 62072]:
{{{
#!CommitTicketReference repository="" revision="62072"
Build/Test Tools: Stop generating unminified `.min` file.
The generated `wp-includes/assets/script-loader-packages.min.php` and `wp-
includes/assets/script-modules-packages.min.php` files are not actually
minified. Additionally, the only purpose they serve is to pass a different
script handle to the script loader (`.min.js` vs. `.js`).
This eliminates the need for those files entirely since the difference in
file size is negligible, and a human-readable version is more useful.
Props peterwilsoncc, desrosj.
Fixes #64909.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64909#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list