Skip to content

Commit 782b2ea

Browse files
Sync kit docs (#1726)
sync kit docs Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
1 parent f4726b1 commit 782b2ea

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

apps/svelte.dev/content/docs/kit/98-reference/26-$lib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ NOTE: do not edit this file, it is generated in apps/svelte.dev/scripts/sync-doc
33
title: $lib
44
---
55

6-
SvelteKit automatically makes files under `src/lib` available using the `$lib` import alias. You can change which directory this alias points to in your [config file](configuration#files).
6+
SvelteKit automatically makes files under `src/lib` available using the `$lib` import alias.
77

88
```svelte
99
<!--- file: src/lib/Component.svelte --->

apps/svelte.dev/content/docs/kit/98-reference/50-configuration.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,6 @@ const config = {
117117
};
118118
```
119119

120-
> [!NOTE] The built-in `$lib` alias is controlled by `config.kit.files.lib` as it is used for packaging.
121-
122120
> [!NOTE] You will need to run `npm run dev` to have SvelteKit automatically generate the required alias configuration in `jsconfig.json` or `tsconfig.json`.
123121
124122
<div class="ts-block-property-children">

0 commit comments

Comments
 (0)