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

WordPress Trac noreply at wordpress.org
Thu Jan 17 04:23:43 UTC 2019


#44560: Console warning because `build/.../underscore.min.js` references
`sourceMapURL` that doesn't exist
-------------------------------------------------+-------------------------
 Reporter:  iandunn                              |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  low                                  |   Milestone:  5.1
Component:  Build/Test Tools                     |     Version:  trunk
 Severity:  minor                                |  Resolution:  fixed
 Keywords:  good-first-bug has-patch needs-      |     Focuses:  javascript
  refresh                                        |
-------------------------------------------------+-------------------------
Changes (by pento):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44632" 44632]:
 {{{
 #!CommitTicketReference repository="" revision="44632"
 Build Tools: Uglify `underscore.min.js` while building.

 This avoids a `sourceMappingURL` being in the minified file, as we don't
 ship source maps.

 Props pento, laghee.
 Fixes #44560.
 }}}

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


More information about the wp-trac mailing list