KomodoHQ / komododigital.co.uk-frontend

Our New Website!
https://komodohq.github.io/komododigital.co.uk-frontend/
MIT License
3 stars 2 forks source link

Create XML Sitemap #146

Closed drewmiley closed 5 years ago

drewmiley commented 5 years ago

I used https://www.gatsbyjs.org/packages/gatsby-plugin-sitemap/ It only builds on production.

onion2k commented 5 years ago

Is there a reason why it only builds on production? It might be useful to have the file locally so we can see what it's doing. We could always gitignore the result...

drewmiley commented 5 years ago

Ah sorry @onion2k , the plugin only builds in production but we can run this locally with yarn build && yarn serve It can be found at public/sitemap.xml which is already in the .gitignore