Update prefetch README filename styling (#7613)

This commit is contained in:
Yan Thomas 2023-07-10 10:37:09 -03:00 committed by GitHub
parent 904921cbe4
commit 131c92279e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -0,0 +1,5 @@
---
"@astrojs/prefetch": patch
---
Update prefetch README filename syntax

View file

@ -86,9 +86,8 @@ export default defineConfig({
By default, the prefetch script also searches the page for any links that include a `rel="prefetch-intent"` attribute, ex: `<a rel="prefetch-intent" />`. This behavior can be changed in your `astro.config.*` file to use a custom query selector when finding prefetch-intent links.
**`astro.config.mjs`**
```js
// astro.config.mjs
import { defineConfig } from 'astro/config';
import prefetch from '@astrojs/prefetch';