Build: Move image compression to dist only
Merge pull request #3798 from nschonni/v4-imagemin-all-dist-images

Build: Move image compression to dist only