react-snap
react-snap copied to clipboard
Add sitemap.xml option
If you want to generate a sitemap.xml
for your static website you can do this in the package.json
, like this:
"homepage": "https://mycoolwebsite.com/",
"reactSnap": {
"sitemap": true
}
Without the homepage
a sitemap can't be generated.
At the moment I'm trying to write proper tests for the package. It was without tests way too long. This means, that all other PRs will be on hold. See #171
Thanks for this!
It would be great to check if the pages forbid robots indexation (via <meta name="robots" content="noindex" />
) before adding them to the sitemap.
Cheers
Is this going anywhere any time soon?
This would be great to have. Is the feature coming any time soon?
I'm looking for this feature too ! #171 is merged, any chance @zelphir you could update this PR? 🙏