svelte-sitemap icon indicating copy to clipboard operation
svelte-sitemap copied to clipboard

Move site name to a config

Open eecue opened this issue 1 year ago • 8 comments

Instead of having the site name in the command which lives in package.json:

"postbuild": "npx svelte-sitemap --domain https://eecue.com"

Could we move it somewhere else that can be populated dynamically at runtime? I use a config file for things like this:

import { config } from '$lib/config';

Ideally I could use that to populate the domain.

eecue avatar Mar 09 '23 00:03 eecue