ReeceM / prismic-sitemap

A sitemap generator for next.js websites based on the pages in your Prismic backed Next.js application. Minimal Configuration
MIT License
12 stars 3 forks source link

fix: change dependencies from dev for issue #3 #4

Closed ReeceM closed 3 years ago

ReeceM commented 3 years ago

This PR is to fix the issue of the incorrect dependencies in the package.json file

Moved both sitemap and prismic-javascript to main dependencies entry

ReeceM commented 3 years ago

note to self: Next.js 10.0.9 uses a different nextServer constructor

10.0.7 works, server constructor type is different, the returned server too.

Need to fix...

ReeceM commented 3 years ago

Right, so the code given from apollo was adding the server twice... version 10.0.7 thats alright, 10.0.9 is a no go for that.