Sets absolute URLs for og:image meta tags. This is required by the spec and relative URLs will not work on some sites such as Twitter.
You can fix this directly in parcel by using --public-url https://example.com, however now all your URLs are hardcoded to absolute URLs which may be undesirable and can break things like prerendering.
This plugin uses the value of the og:url meta tag to convert og:image to an absolute URL.
https://github.com/lukechilds/parcel-plugin-ogimage
Sets absolute URLs for
og:image
meta tags. This is required by the spec and relative URLs will not work on some sites such as Twitter.You can fix this directly in parcel by using
--public-url https://example.com
, however now all your URLs are hardcoded to absolute URLs which may be undesirable and can break things like prerendering.This plugin uses the value of the
og:url
meta tag to convertog:image
to an absolute URL.