DEV Community

Discussion on: SvelteKit Sitemap

rbt profile image
Richard Beattie Author

It can be anywhere but best would be in the root of your project

├── svelte.config.cjs
├── generateSitemap.js
├── src
│   ├── ...
├── ...
Enter fullscreen mode Exit fullscreen mode

If you want to put it somewhere else you'll need to reflect that in the prebuild command. I've updated the post to make this clearer, thanks for the feedback!