[wp-trac] [WordPress Trac] #44560: Console warning because `build/.../underscore.min.js` references `sourceMapURL` that doesn't exist

WordPress Trac noreply at wordpress.org
Wed Jul 11 02:41:05 UTC 2018


#44560: Console warning because `build/.../underscore.min.js` references
`sourceMapURL` that doesn't exist
------------------------------+----------------------------------------
 Reporter:  iandunn           |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  low               |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:  trunk
 Severity:  minor             |   Keywords:  needs-patch good-first-bug
  Focuses:  javascript        |
------------------------------+----------------------------------------
 r43138 introduced a regression where `build/wp-
 include/js/underscore.min.js` has an invalid `sourceMapURL` value:

 {{{
 //# sourceMappingURL=underscore-min.map
 }}}

 This results in a warning in the browser console:

 {{{
 Source map error: request failed with status 404
 Resource URL: http://wp-develop.test/wp-
 includes/js/underscore.min.js?ver=1.8.3
 }}}

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


More information about the wp-trac mailing list