Closed fidian closed 6 months ago
I think this is a small but very useful change. Would be cool if you could merge this, @FatehAK! I can confirm that this works for my project.
For now I have made a fork which implements this PR at @jonasgeiler/vite-plugin-image-optimizer
Sure, @jonasgeiler! I'll make a release with this shortly. It's been a hectic few months at work, and I apologize for not getting to this sooner.
@FatehAK wrote: Sure, (at)jonasgeiler! I'll make a release with this shortly. It's been a hectic few months at work, and I apologize for not getting to this sooner.
Sure! No worries. I'll delete my fork as soon as #32 and #28 are merged :) Take your time.
Thanks for the support @fidian and @jonasgeiler this change is now available in v1.1.8.
@FatehAK wrote: Thanks for the support (at)fidian and (at)jonasgeiler this change is now available in v1.1.8.
Thank you! Fork is deleted now :)
What is the purpose of this pull request?
Description
Previously this plugin would not do anything when you put your project's site files under a folder. See the
root
shared option. With this change, the user now can have source files in a folder that is not at the project root.This may also fix FatehAK/vite-plugin-image-optimizer#30, since I am also using Vite 5.x.
Checks
fixes #number
pnpm lint && pnpm build
Additional Context