Skip to content
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

[New Feature] Load config from file svelte-sitemap.cjs #20

Open
bartholomej opened this issue Jan 18, 2022 · 2 comments
Open

[New Feature] Load config from file svelte-sitemap.cjs #20

bartholomej opened this issue Jan 18, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@bartholomej
Copy link
Owner

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 ;)

@bartholomej bartholomej pinned this issue Jan 18, 2022
@bartholomej bartholomej self-assigned this Jan 18, 2022
@bartholomej bartholomej added the enhancement New feature or request label Jan 18, 2022
@bartholomej bartholomej added this to the Load config from file milestone Jan 18, 2022
@bartholomej
Copy link
Owner Author

bartholomej commented Jan 18, 2022

Now you can try v3.0.0-next.7 beta version with this feature.

npm i svelte-sitemap@next

@bartholomej
Copy link
Owner Author

bartholomej commented Jan 18, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant