[wp-trac] [WordPress Trac] #58996: Consider removing the "imagemin" task from Grunt
WordPress Trac
noreply at wordpress.org
Mon Aug 7 18:36:56 UTC 2023
#58996: Consider removing the "imagemin" task from Grunt
------------------------------+--------------------
Reporter: azaozz | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.4
Component: Build/Test Tools | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+--------------------
WordPress uses Imagemin in Grunt to minify new images. However it seems
the last time new (non svg) images were added was 7 years ago. See:
https://core.trac.wordpress.org/browser/trunk/src/wp-
includes/images?order=date&desc=1
https://core.trac.wordpress.org/browser/trunk/src/wp-
admin/images?order=date&desc=1
Seems the `imagemin` task in Grunt has been redundant for a long time.
Perhaps would be good to retire it and go back to minifying new images "by
hand" before committing them, if non-svg images are ever added again.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58996>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list