I'm trying to fix the problem referenced in this issue: vitejs/vite#7362, ie. trying to add the full site URL in front of the og:image image path.
I've tried a few things such as writing a transfrom but it runs before vite middleware, and wrote a vite plugin but that also ran just before asset paths were replaced, so asset paths are seen as __VITE_ASSET__BAZUZ5RZ__, which doesn't help either. Is there a way I can run a transform after vite is done with the final output?
I'm trying to fix the problem referenced in this issue: vitejs/vite#7362, ie. trying to add the full site URL in front of the
og:imageimage path.I've tried a few things such as writing a transfrom but it runs before vite middleware, and wrote a vite plugin but that also ran just before asset paths were replaced, so asset paths are seen as
__VITE_ASSET__BAZUZ5RZ__, which doesn't help either. Is there a way I can run a transform after vite is done with the final output?