morning! after I got all to work, I have a question - I need to provide a static link to another sitemap XML ( I am running 2 apps under the same domain ), if I do it via this config:
export default {
autoI18n: false,
sitemaps: {
default: {
dynamicUrlsApiEndpoint: '/sitemap-default',
},
shop: {
urls() {
return ['shop/sitemapindex.xml']
},
},
...
},
}
export default {
autoI18n: false,
sitemaps: {
default: {
dynamicUrlsApiEndpoint: '/sitemap-default',
},
shop: {
urls() {
return ['shop/sitemapindex.xml']
},
},
...
},
}
it gives me a "shop" sub-sitemap with just 1 link inside, obviously
OK, here is what helped:
- delete root node_modules ( not symlinked )
- delete lock file
- pnpm i
now it started working, thanks for being a "rubber duck" ! 😉
ran gaian, now have 3.13 version... but a new Error
[3:22:54 PM] ERROR [worker reload] [worker init] The requested module 'file:///.../node_modules/.pnpm/[email protected]/node_modules/ufo/dist/index.mjs' does not provide an export named 'joinRelativeURL'
[3:22:54 PM] ERROR [worker reload] [worker init] The requested module 'file:///.../node_modules/.pnpm/[email protected]/node_modules/ufo/dist/index.mjs' does not provide an export named 'joinRelativeURL'