Confirm that config is used correctly #7

Open
opened 2023-07-25 21:11:58 +00:00 by xrdawson · 0 comments
xrdawson commented 2023-07-25 21:11:58 +00:00 (Migrated from extrastatic.dev)

When I grep for config inside the svekyll directory I see this:

svekyll/PostPage.svelte:  import { config } from '$svekyll/config';
svekyll/Revisions.svelte:  import config from '$config/config';
svekyll/Subscribe.svelte:  import config from '$config/config.json';

I believe that the old $svekyll/config was used when we were running inside a sveltekit app and should be removed. But, confirm the correct usage since PostPage is new so I'm surprised it works at all.

When I grep for `config` inside the svekyll directory I see this: ``` svekyll/PostPage.svelte: import { config } from '$svekyll/config'; svekyll/Revisions.svelte: import config from '$config/config'; svekyll/Subscribe.svelte: import config from '$config/config.json'; ``` I believe that the old `$svekyll/config` was used when we were running inside a sveltekit app and should be removed. But, confirm the correct usage since PostPage is new so I'm surprised it works at all.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
svekyll/svekyll-cli#7
No description provided.