DEV Community

loading...

Discussion on: SvelteKit Sitemap

Collapse
rbt profile image
Richard Beattie Author

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

my-sveltekit-app:
├── 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!

Forem Open with the Forem app