[wp-trac] [WordPress Trac] #29546: grunt uglify for plugins and plugin developers
WordPress Trac
noreply at wordpress.org
Fri Sep 5 20:21:55 UTC 2014
#29546: grunt uglify for plugins and plugin developers
------------------------------+-----------------------------
Reporter: MattyRob | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: trunk
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
A few months ago I submitted a ticket to allow plugin developers to run
JSHint on heir plugins.
I now propose that we add uglify to that so the JS can be minified. The
attached patch creates uglify:plugins.
In addition, I've noticed that if a 'dir' was not specified the task ran
on the entire plugin folder, I think it may be better to bail for both
uglify:plugins and jshint:plugins so the attached patch adds that also.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29546>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list