malchata / rollup-plugin-imagemin

Imagemin meets Rollup!
25 stars 7 forks source link

Trying to move over from gulp-image #19

Open vincelawdev opened 3 years ago

vincelawdev commented 3 years ago

I am trying to retire all my gulp tasks and move over to Rollup.

I current use gulp-image to compress a list of images in my source/images/ directories. They get compressed and moved to build/images/directories.

I am finding this difficult to replicate with this rollup-plugin-imagemin because my images are not imported from the main JS file. Instead, they are in my source directories.

Any idea how to do what I do with gulp-image?