Closed nicolasalt closed 1 year ago
Just published a new version with TS typings. Please update the package to v1.1.0
and see if that fixes it. Thanks!
Thanks a lot for the quick fix!
And thanks for this plugin, in my app it worked right away without any additional tuning and reduced the total images size by more than 50% without significant quality drop.
Awesome! Great to hear 😃
Describe the Bug
I have to use
ViteImageOptimizer() as PluginOption
as a workaround, otherwise VSCode complains (no issues with the actual build):Full config:
Steps to reproduce
System Info
Used Package Manager
yarn
Validations