0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

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
This commit is contained in:
Ariel K 2024-12-18 12:46:36 +01:00 committed by GitHub
parent 8da2318551
commit ca3ff1504a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.
*