-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: update defaults and generate sitemap.xml
in dist
directory
#42
fix: update defaults and generate sitemap.xml
in dist
directory
#42
Conversation
sitemap.xml
directly on dist
directory
sitemap.xml
directly on dist
directorysitemap.xml
in dist
directory
sitemap.xml
in dist
directorysitemap.xml
in dist
directory
sitemap.xml
in dist
directorysitemap.xml
in dist
directory
Hi @NicoPennec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice PR! Left you a few comments
|
||
// TODO on generate process only and not on build process | ||
if (options.generate) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last thing I promise! 😄
A notice for the user that generate
isn't needed anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@manniL great review!
Added notice with consola.warn
src/index.js
Outdated
})() | ||
} | ||
if (options.generate) { | ||
consola.warn('The option `generate` isn\'t needed anymore') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consola.warn('The option `generate` isn\'t needed anymore') | |
consola.warn('The option `sitemap.generate` isn\'t needed anymore') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So the user knows which prop it is exactly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready! 👍
many thanks @ricardogobbosouza |
@ricardogobbosouza thank your for the nice feature, it's was in my ToDoList since a long time 👍 @manniL thanks for the reviews Apologize, I know that I'm very slow to review PRs currently (due to personal life), but please discuss with me before merge 😉 |
@NicoPennec Sorry for that 😦 ! I tagged you for review some time ago 🙈 Regarding the change: You are right! No release has been made yet though. PS: Both, @ricardogobbosouza and I are on https://discord.nuxtjs.org/ - Feel free to ping us there if you have time so we can communicate fast |
@NicoPennec Short reminder that this was a breaking change (as you release v0.2.1 and v0.2.2) |
sitemap.xml
directly ondist
directory with thegenerate:done
hookgenerate
optionResolves #27