[wp-trac] [WordPress Trac] #50460: Don't minimize the `script-loader-packages.php` file

WordPress Trac noreply at wordpress.org
Tue Jun 23 19:21:10 UTC 2020


#50460: Don't minimize the `script-loader-packages.php` file
------------------------------+------------------------------
 Reporter:  desrosj           |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+------------------------------

Comment (by desrosj):

 The generation of this file is handled in Webpack through the
 [https://github.com/WordPress/gutenberg/blob/master/packages/dependency-
 extraction-webpack-plugin/lib/index.js Dependency Extraction plugin in the
 Gutenberg] repo. It doesn't seem that the output can be formatted in
 anything but single line looking over how that code works.

 It may be easier to handle this in Core after the file is created.

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


More information about the wp-trac mailing list