* docs: remove `$lib` path customization
Updated documentation for $lib import alias in SvelteKit.
* Update documentation/docs/98-reference/26-$lib.md
Co-authored-by: Tee Ming <chewteeming01@gmail.com>
* chore: remove deprecated comment
---------
Co-authored-by: Tee Ming <chewteeming01@gmail.com>
title: $lib
---
-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).
+SvelteKit automatically makes files under `src/lib` available using the `$lib` import alias.
```svelte
<!--- file: src/lib/Component.svelte --->
* };
* ```
*
- * > [!NOTE] The built-in `$lib` alias is controlled by `config.kit.files.lib` as it is used for packaging.
- *
* > [!NOTE] You will need to run `npm run dev` to have SvelteKit automatically generate the required alias configuration in `jsconfig.json` or `tsconfig.json`.
* @default {}
*/
* };
* ```
*
- * > [!NOTE] The built-in `$lib` alias is controlled by `config.kit.files.lib` as it is used for packaging.
- *
* > [!NOTE] You will need to run `npm run dev` to have SvelteKit automatically generate the required alias configuration in `jsconfig.json` or `tsconfig.json`.
* @default {}
*/