[wp-trac] [WordPress Trac] #24879: Sourcemaps should be provided for use with minified javascript libraries

WordPress Trac noreply at wordpress.org
Wed Sep 11 10:21:10 UTC 2013


#24879: Sourcemaps should be provided for use with minified javascript libraries
--------------------------------+------------------------------
 Reporter:  jblz                |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  External Libraries  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  dev-feedback        |
--------------------------------+------------------------------

Comment (by hakre):

 Replying to [comment:1 jblz]:
 > jQuery provides a sourcemap:
 > http://blog.jquery.com/2013/01/09/jquery-1-9-rc1-and-migrate-
 rc1-released/#sourcemaps
 >
 > But since we're customizing it ( see [24791] & #24821  ), we'd need to
 include our own source & sourcemap files.


 If the sole need of an edit is to add some initialization code after the
 file has been enqueued, I think it's better to not touch the upstream
 files but just add the initialization code as date, for example see
 #25277.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24879#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list