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

WordPress Trac noreply at wordpress.org
Fri Oct 26 14:54:21 UTC 2018


#45201: Exclude JavaScript source maps from build
------------------------------+-----------------------------
 Reporter:  mcsf              |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:  5.0
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 The nightly build, as obtained from https://wordpress.org/nightly-builds
 /wordpress-latest.zip, currently contains `.map` files, source maps for
 5.0's new JS packages. These aren't needed in the build and should be
 removed.

 {{{
 $ find . -name '*.map' | xargs du -hc
  28K    ./wp-includes/js/dist/hooks.js.map
 [32 more items...]
  16K    ./wp-includes/js/dist/viewport.js.map
 5.5M    total
 }}}

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


More information about the wp-trac mailing list