diff options
author | 2024-12-18 12:46:36 +0100 | |
---|---|---|
committer | 2024-12-18 11:46:36 +0000 | |
commit | ca3ff1504a4c5735f69c84eea410485f82b0790b (patch) | |
tree | e778f3f82fd8fec3b66b2075a51cbdd1b07a0833 | |
parent | 8da231855162af245f2b3664babb68dff0ba390f (diff) | |
download | astro-ca3ff1504a4c5735f69c84eea410485f82b0790b.tar.gz astro-ca3ff1504a4c5735f69c84eea410485f82b0790b.tar.zst astro-ca3ff1504a4c5735f69c84eea410485f82b0790b.zip |
docs: Fix typos in config.ts (#12769)
- Replace `ie` with `e.g.`, as we're dealing with examples
- Use brackets to match the styles of previous lines
-rw-r--r-- | packages/astro/src/types/public/config.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/src/types/public/config.ts b/packages/astro/src/types/public/config.ts index 721b5076a..7e64aeceb 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. * |