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:
parent
8da2318551
commit
ca3ff1504a
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue