title: Is it possible to add an if statement in a gulpfile that would run a task based on filesize?
body: <p>I'm using gulp to compress images, but I only want to compress images that are over 200kb in size. Is it possible to in JavaScript to go through a folder and only run the minification on files over 200kb? I'm using the lossy-imagemin package. As far as I know it'd only work with server-side language but I would like a definitive answer if possible. Thanks in advance. </p>