At the moment all links are [resolved against the origin](https://github.com/preactjs/vite-prerender-plugin/blob/7467489936a05c58e189eecb5eb2a029b588e28c/src/plugins/prerender-plugin.js#L443) which is undesirable when using relative specifiers, as can be seen [here](https://github.com/JoviDeCroock/blog-portfolio/blob/9af7075d50c9f976147afd8039975bff7e12932b/src/pages/posts/skew-based-diff/index.mdx?plain=1#L55-L56). We should detect relative paths and resolve them against the current origin + path. Hopefully isn't too breaking.
At the moment all links are resolved against the origin which is undesirable when using relative specifiers, as can be seen here.
We should detect relative paths and resolve them against the current origin + path. Hopefully isn't too breaking.