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

Making WordPress.org noreply at wordpress.org
Wed Feb 1 10:57:53 UTC 2023


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

Comment (by rixeo):

 Not all developers use build tools to minify their js files :)

 > If the developer knows how to minify their JS, they will certainly know
 how to include the .map in their build process (if your plugin only
 contains unminified JS, you don't need a map anyway)

 You can find WordPress source code here https://github.com/WordPress
 /wordpress-develop As mentioned, some developers would rather store this
 in Github or any other version control systems

 > Atm it's even missing in WP core in a few cases, but there's a
 discussion to fix this with the next release.
 >

 Not all plugin and theme developers use tools to build, and for most they
 prefer to host these on Github. I don't this this is something WordPress
 should enforce as different plugin and theme authors use different
 methods/means to build their products. This is just my opinion though and
 I do not currently see a valid reason or a good way to enforce this
 without increasing the size of themes or plugins

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


More information about the wp-meta mailing list