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

Making WordPress.org noreply at wordpress.org
Sun Mar 26 13:45:59 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:                    |
------------------------------+-----------------------

Comment (by kkmuffme):

 @dd32

 >expect that the source is bundled with the minified files, but as you've
 seen with WordPress.org plugins, they're often not

 Which already is not allowed: Rule 4 technically requires the source code
 to be included:
 https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-
 guidelines/#4-code-must-be-mostly-human-readable

 Again, automating this would be incredibly simple:
 if we have a .min.js/.min.css file (or for some super-smarts a file with
 line lengths exceeding a specific character count), it will require a
 .js/.css without min and same name, and for js additionally a .map file
 There are some edge cases, but those could be ironed out once we look at
 actual examples, as that would probably cover 98% of cases already.

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


More information about the wp-meta mailing list