[wp-trac] [WordPress Trac] #45201: Exclude JavaScript source maps from build

WordPress Trac noreply at wordpress.org
Thu Nov 22 03:48:43 UTC 2018


#45201: Exclude JavaScript source maps from build
------------------------------+---------------------
 Reporter:  mcsf              |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:  5.0
 Severity:  normal            |  Resolution:
 Keywords:  fixed-5.0         |     Focuses:
------------------------------+---------------------
Changes (by pento):

 * keywords:   => fixed-5.0


Comment:

 Okay, that reduced the nightly zip file from 18.3MB to 16.7MB. For
 comparison, the 4.9 nightly is 13.4MB.

 I'd expect a similar size decrease in the release zip, dropping it from
 13.6MB to 12MB. For comparison, the 4.9.8 release zip was 9.5MB.

 I don't think there's much more space to save, the additional 3.5MB of zip
 is taken up by:

 - Minified package JS/CSS files: 3.4MB
 - Unminified package JS/CSS files: 7.5MB
 - The size difference between Twenty Nineteen and Twenty Fifteen (the
 latter is removed from the 5.0 release zip): 700KB.

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


More information about the wp-trac mailing list