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

Making WordPress.org noreply at wordpress.org
Mon Mar 27 00:18:11 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 dd32):

 Replying to [comment:12 kkmuffme]:
 > 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

 Minified code doesn't conflict with that rule, and source files do not
 need to be included. As long as they document a public location of the
 source non-minified build repo, it's fine. Only one of the bullet points
 in that rule needs to be adhered to.

 > Again, automating this would be incredibly simple:

 Yes, and most build tools already do that. But since the source files will
 rarely be included with the deployed plugin, there's no point in their
 build tools including the source map files in the distribution package.

 To be clear; This isn't going to happen, plugin authors are NOT going to
 comply, it's a waste of the plugin reviewers time attempting to enforce a
 rule that benefits very few people and is only going to cause authors to
 debate the underlying reason for it.

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


More information about the wp-meta mailing list