Skip to content

Shouldn't it be a dev dependency? #631

Closed Answered by iamvishnusankar
RemyMachado asked this question in Q&A
Discussion options

You must be logged in to vote

@RemyMachado It's totally fine to install next-sitemap as dev dependency if you're only using it to generate static sitemaps.

However, a lot of people were using it for server sitemap generation. The initial documentations suggested to install it as dev dep, however users were having internal server issues after deployment because a lot of hosted services were only installing dependencies (production mode).

So, I changed the documentation to make it as a main dependency. But, you're totally free to move it to dev dep if your use case is only static sitemap generation.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by iamvishnusankar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants