FatehAK / vite-plugin-image-optimizer

Optimize your image assets using Sharp.js and SVGO.
MIT License
347 stars 15 forks source link

fix(minor): Fixed bug in Windows with incorrect slashes in paths #14

Closed NecroMan closed 1 year ago

NecroMan commented 1 year ago

What is the purpose of this pull request?

Description

In Windows paths in publicDir is incorrect, so no images can be found to optimize. Checked in Windows but didn't check in Linux/MacOS but should work :)

Checks

Additional Context

FatehAK commented 1 year ago

Thanks for contribution! Please review the changes requested.

NecroMan commented 1 year ago

Done!

FatehAK commented 1 year ago

Just released v1.1.2 with the fix. Thanks again!