Skip to content

Commit

Permalink
docs: Fix typos in config.ts
Browse files Browse the repository at this point in the history
- Replace `ie` with `e.g.`, as we're dealing with examples
- Use brackets to match the styles of previous lines
  • Loading branch information
anaxite authored Dec 17, 2024
1 parent 8da2318 commit 8c7e7f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/types/public/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 8c7e7f7

Please sign in to comment.