Make WordPress Core

Opened 6 months ago

Closed 3 months ago

#64328 closed defect (bug) (fixed)

`imagemin` Grunt task has gone missing

Reported by: desrosj's profile desrosj Owned by: desrosj's profile desrosj
Milestone: 7.0 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch
Focuses: Cc:

Description

The matchdep package was removed in [59797] in an effort to remove dependencies that are no longer maintained.

It appears that the grunt-contrib-imagemin package was missed when creating the gruntDependencies list to replace the functionality of matchdep.

Change History (2)

This ticket was mentioned in PR #10575 on WordPress/wordpress-develop by @desrosj.


6 months ago
#1

The matchdep package was removed in r59797 in an effort to remove dependencies that are no longer maintained.

It appears that the grunt-contrib-imagemin package was missed when creating the gruntDependencies list to replace the functionality of matchdep.

Trac ticket: Core-64328.

#2 @desrosj
3 months ago

  • Owner set to desrosj
  • Resolution set to fixed
  • Status changed from new to closed

In 61664:

Build/Test Tools: Load grunt-contrib-imagemin again.

In [59797], the matchdep dependency was removed because it has been abandoned. The grunt-contrib-imagemin package was missed in the list of gruntDependencies to load that replaced the functionality for matchdep.

This adds imagemin to the list to restore the precommit:image Grunt task functionality.

Props jorbin.
Fixes #64328.

Note: See TracTickets for help on using tickets.