I would like that instead of having to pass the URLs to exclude, it would be possible for the sitemap to be generated taking into account the noindex meta attributes of the page; this way, it would be much easier to perform the task of excluding URLs.
Describe alternatives you've considered
A noIndex prop could be added to the page props to directly exclude them from the sitemap if it's easier than reading it from the meta tags. Since it's necessary to pass it to generate the meta tags, it wouldn't pose any problem, and we could "standardize" the way these are passed.
I would like that instead of having to pass the URLs to exclude, it would be possible for the sitemap to be generated taking into account the noindex meta attributes of the page; this way, it would be much easier to perform the task of excluding URLs.
Describe alternatives you've considered A noIndex prop could be added to the page props to directly exclude them from the sitemap if it's easier than reading it from the meta tags. Since it's necessary to pass it to generate the meta tags, it wouldn't pose any problem, and we could "standardize" the way these are passed.