itmayziii / gatsby-plugin-no-javascript

Removes all javascript files created by Gatsby from the static HTML files.
MIT License
77 stars 13 forks source link

Catch irregular slashes in page-data.json links #22

Open FraserMuir opened 4 years ago

FraserMuir commented 4 years ago

Summary

Addresses what appears to be an environmental bug within Gatsby JS that causes page-data.json files to be referenced via a link containing irregular slashes, such as <link as="fetch" rel="preload" href="/page-data\index\page-data.json" crossorigin="anonymous"/>.

Linked Issues

Note

FraserMuir commented 4 years ago

Apologies for the now somewhat messy pull request, however I now can't see why this would be failing? @itmayziii @wmontgomery any help would be appreciated