[wp-meta] [Making WordPress.org] #6723: Require source and map files for JS

Making WordPress.org noreply at wordpress.org
Mon Mar 27 13:51:19 UTC 2023


#6723: Require source and map files for JS
------------------------------+-----------------------
 Reporter:  kkmuffme          |       Owner:  (none)
     Type:  enhancement       |      Status:  reopened
 Priority:  low               |   Milestone:
Component:  Plugin Directory  |  Resolution:
 Keywords:  close             |
------------------------------+-----------------------

Comment (by kkmuffme):

 @rixeo

 >Plugin file sizes do matter as not everyone has access to fast and
 reliable internet to update/download plugin zip files.

 The average plugin has less than 5 JS files with a total average size of
 less than 250kb. When it's zipped for upload, it's 50-100kb - if you the
 slowest of the slow, a 56k modem, this will only add 15 seconds to your
 upload time. (btw loading ANY WordPress admin page would take you
 literally minutes at that speed with all the assets loaded by it)

 This isn't an argument against it requiring non-minified JS.

 >This would be more of a developer focused feature used in debugging as
 opposed to a normal end user

 Nope, not at all. This will be incredibly useful to a normal end user for
 2 reasons:
 1) the end user will have an actionable error message that can be reported
 to the website owner, which will ensure that the website will be working
 correctly faster
 2) the website owner will have actionable errors - this means a) he can
 either self-fix it or b) can report it to the plugin owner, to fix it

 Without the .map, ALL errors the plugin JS produces are useless. Nobody
 can use them for anything and these issues can also not be fixed in many
 cases.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6723#comment:18>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list