svelte-meta-tags
svelte-meta-tags copied to clipboard
Metadata is loading in after the script tags, discussion
Im not using your package however i have done pretty much the same thing - a component that you pass metadata info into and then it loads it into svelte head.
The issue I have noticed when using w3 validator is that the metadata component has no load time specificity or priority - this means that when rollup bundles the project it could load/run the metadata component last which can cause the metadata to show underneath the scripts and not be first in the head as recommended.
Which looks like this:
W3 Validator is saying that it does not appreciate the meta tags being loaded in last and having all the scripts above it - whether or not this impacts anything im not sure but it is interesting to know.
The error W3 is giving me: