[wp-trac] [WordPress Trac] #50460: Don't minimize the `script-loader-packages.php` file
WordPress Trac
noreply at wordpress.org
Tue Apr 6 08:39:58 UTC 2021
#50460: Don't minimize the `script-loader-packages.php` file
-------------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-patch close | Focuses:
-------------------------------+---------------------
Comment (by gziolo):
The npm library we use to output PHP code from the JSON representation can
be always inlined and modified to meet our requirements:
https://github.com/daniel-zahariev/json2php/blob/master/lib/json2php.js
Unless we find a way to run unit tests without `wp-includes/assets/script-
loader-packages.php` file present as discussed in #49635.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50460#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list