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

Remove the early return when generating sitemap #11

Closed horstleung closed 3 years ago

horstleung commented 3 years ago

avoid breaking getting config by webpack function

Description

The webpack config is returned too early when it is isServer.

Related Issue

Nope.

Motivation and Context

Get custom config with input webpack function.

How Has This Been Tested?

Working in my local machine and deployed to Vercel successfully.

Types of changes

Checklist:

horstleung commented 3 years ago

Hi @fattomhk, :) I do hope that you will make a PR if this was an issue that I missed. Thank you for noticing it if it happened to you

Done. Sorry for not having time to test it.

ReeceM commented 3 years ago

Done. Sorry for not having time to test it.

Hi @fattomhk, thank you making the fix, very much appreciated. I will double check it again and the Github Actions should also run 👍