You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just an FYI -- if you're following the sitemap build process on your nextjs-sitemap-robots blog post, it may be worth mentioning that if you're on a Windows machine, globby is not going to work for the path.join('') step, unless you either do a regex replace or use something like unixify.
// generate-sitemap.js
const unixify = require('unixify');
...
// Unixify is needed for when you're on a Windows machine
const route = path === '/index' ? '' : unixify(path);
The text was updated successfully, but these errors were encountered:
Just an FYI -- if you're following the sitemap build process on your nextjs-sitemap-robots blog post, it may be worth mentioning that if you're on a Windows machine,
globby
is not going to work for thepath.join('')
step, unless you either do a regex replace or use something like unixify.The text was updated successfully, but these errors were encountered: