[wp-trac] [WordPress Trac] #25169: Optimize all images / pngs in core
WordPress Trac
noreply at wordpress.org
Sat Feb 15 01:28:04 UTC 2014
#25169: Optimize all images / pngs in core
------------------------------+--------------------------------------
Reporter: bradparbs | Owner: nacin
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.9
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: javascript, performance
------------------------------+--------------------------------------
Comment (by netweb):
Replying to [comment:8 jorbin]:
> I'm using grunt-contrib-imagmin 0.4.1 rather than the newer 0.5 since
0.5 is using a new library that seems to throw errors on subsequent runs.
I'm looking into that upstream.
From a quick bit of research it looks like the optional dependencies will
fail a little more gracefully in v0.5.0 and going further upstream:
`grunt-contrib-imagemin` currently has a dependency of `image-min` v0.1.1
* `v~0.1.1` has a dependency on `optipng-bin`
* `v~0.1.2` has `optipng-bin` as an optional dependency
* `v~0.1.3` removes the `optipng-bin` dependency in favour of `pngquant-
bin`
I submitted a pull request https://github.com/gruntjs/grunt-contrib-
imagemin/pull/152 to bump the `grunt-contrib-imagemin` dependency of
`image-min` to `v0.1.3`
Maybe reclose this ticket and create a new one for updating core build to
`grunt-contrib-imagmin` to `v0.5.x` once all the upstream issues are
fixed? ''(I can survive with the errors in Windows for a while)''
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25169#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list