svelte-sitemap
svelte-sitemap copied to clipboard
[New Feature] Load config from file `svelte-sitemap.cjs`
Feature idea
I want to try the possibility of loading the config from a file
- This should become the main and recommended method
- The CLI version should remain untouched
Proposal
./svelte-sitemap.cjs
module.exports = {
domain: 'https://www.example.com',
resetTime: false,
debug: true
};
Let's discuss here ;)
Now you can try v3.0.0-next.7
beta version with this feature.
npm i svelte-sitemap@next
Documentation is here: https://github.com/bartholomej/svelte-sitemap/tree/config-file#usage