diff options
author | 2022-11-01 13:42:30 +0100 | |
---|---|---|
committer | 2022-11-01 08:42:30 -0400 | |
commit | 6ad91bd80dae935b67a5c18b8dfbb95f2cfe10ef (patch) | |
tree | 258f203a6fb5fc85e1e5a6763de09496edf657ac /packages/integrations/prefetch/src/index.ts | |
parent | 2f8c9a98cc8cced93a5c2bc439a06c61db94729d (diff) | |
download | astro-6ad91bd80dae935b67a5c18b8dfbb95f2cfe10ef.tar.gz astro-6ad91bd80dae935b67a5c18b8dfbb95f2cfe10ef.tar.zst astro-6ad91bd80dae935b67a5c18b8dfbb95f2cfe10ef.zip |
Improve prefetch conditions (#5244)
* Improve prefetch
* Add changeset
Diffstat (limited to 'packages/integrations/prefetch/src/index.ts')
-rw-r--r-- | packages/integrations/prefetch/src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/prefetch/src/index.ts b/packages/integrations/prefetch/src/index.ts index cb1c73a0b..74ec5186e 100644 --- a/packages/integrations/prefetch/src/index.ts +++ b/packages/integrations/prefetch/src/index.ts @@ -5,7 +5,7 @@ export default function (options: PrefetchOptions = {}): AstroIntegration { return { name: '@astrojs/prefetch', hooks: { - 'astro:config:setup': ({ updateConfig, addRenderer, injectScript }) => { + 'astro:config:setup': ({ injectScript }) => { // Inject the necessary polyfills on every page (inlined for speed). injectScript( 'page', |