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

WordPress Trac noreply at wordpress.org
Thu Nov 22 03:05:47 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:                    |     Focuses:
------------------------------+---------------------
Changes (by pento):

 * keywords:  has-patch fixed-5.0 =>


Comment:

 Turns out there was a side effect: webpack wraps the code in an `eval()`
 call when a `devtool` isn't specified.

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


More information about the wp-trac mailing list