[wp-trac] [WordPress Trac] #21633: Switch to min.js convention

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 19 18:56:20 UTC 2012


#21633: Switch to min.js convention
-----------------------------+-----------------------------
 Reporter:  nbachiyski       |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
-----------------------------+-----------------------------
 Most of the projects I use these days use {{{min.js}}} for the filenames
 of their minified files. This does a couple of good things:

  * Sets some expectations in developers looking at the files. Numerous
 times I've forgotten for our {{{.dev.js}}} convention and have opened the
 minified files in a text editor.
 * Sets some expectations in some software tools. For example, {{{ack}}}
 automatically skips searching {{{min.js}}} files.

 Possible problems: I don't see any.

 Plugins should be using {{{wp_enqueue_script()}}} and changing paths
 shouldn't be a problem. Browser caches of developers shouldn't be a huge
 problem, either.

 If everybody is fine with the change, I'd be happy to volunteer and steer
 the transition, including the patches.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21633>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list