diff --git a/.changeset/ten-buckets-rush.md b/.changeset/ten-buckets-rush.md new file mode 100644 index 000000000..8b5983695 --- /dev/null +++ b/.changeset/ten-buckets-rush.md @@ -0,0 +1,5 @@ +--- +"@astrojs/prefetch": patch +--- + +Update prefetch README filename syntax diff --git a/packages/integrations/prefetch/README.md b/packages/integrations/prefetch/README.md index 6502265ec..5ba1d1ffe 100644 --- a/packages/integrations/prefetch/README.md +++ b/packages/integrations/prefetch/README.md @@ -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: ``. 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';