From 8c7e7f703f2a20fc6ae07c3de0d046038ce0ec49 Mon Sep 17 00:00:00 2001 From: Ariel K <89195061+anaxite@users.noreply.github.com> Date: Tue, 17 Dec 2024 22:29:56 +0100 Subject: [PATCH] docs: Fix typos in config.ts - Replace `ie` with `e.g.`, as we're dealing with examples - Use brackets to match the styles of previous lines --- packages/astro/src/types/public/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/types/public/config.ts b/packages/astro/src/types/public/config.ts index 721b5076a096..7e64aeceb8de 100644 --- a/packages/astro/src/types/public/config.ts +++ b/packages/astro/src/types/public/config.ts @@ -561,8 +561,8 @@ export interface ViteUserConfig extends OriginalViteUserConfig { * * #### Effect on Astro.url * Setting `build.format` controls what `Astro.url` is set to during the build. When it is: - * - `directory` - The `Astro.url.pathname` will include a trailing slash to mimic folder behavior; ie `/foo/`. - * - `file` - The `Astro.url.pathname` will include `.html`; ie `/foo.html`. + * - `directory` - The `Astro.url.pathname` will include a trailing slash to mimic folder behavior. (e.g. `/foo/`) + * - `file` - The `Astro.url.pathname` will include `.html`. (e.g. `/foo.html`) * * This means that when you create relative URLs using `new URL('./relative', Astro.url)`, you will get consistent behavior between dev and build. *