summaryrefslogtreecommitdiff
path: root/packages/integrations/prefetch/src/index.ts
diff options
context:
space:
mode:
authorGravatar tony-sull <tony-sull@users.noreply.github.com> 2022-06-27 18:28:16 +0000
committerGravatar github-actions[bot] <github-actions[bot]@users.noreply.github.com> 2022-06-27 18:28:16 +0000
commitcb3fcdde6a1e37e82b672f962d75df2392628519 (patch)
treee29078c846dea4341fe00a6f988da06ce2cd16fe /packages/integrations/prefetch/src/index.ts
parent79fe09fa3093eb8ac2871c1894b9cddf557aecba (diff)
downloadastro-cb3fcdde6a1e37e82b672f962d75df2392628519.tar.gz
astro-cb3fcdde6a1e37e82b672f962d75df2392628519.tar.zst
astro-cb3fcdde6a1e37e82b672f962d75df2392628519.zip
[ci] format
Diffstat (limited to 'packages/integrations/prefetch/src/index.ts')
-rw-r--r--packages/integrations/prefetch/src/index.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/integrations/prefetch/src/index.ts b/packages/integrations/prefetch/src/index.ts
index 15f52272c..a15f88747 100644
--- a/packages/integrations/prefetch/src/index.ts
+++ b/packages/integrations/prefetch/src/index.ts
@@ -9,9 +9,11 @@ export default function (options: PrefetchOptions = {}): AstroIntegration {
// Inject the necessary polyfills on every page (inlined for speed).
injectScript(
'page',
- `import prefetch from "@astrojs/prefetch/client.js"; prefetch(${JSON.stringify(options)});`
+ `import prefetch from "@astrojs/prefetch/client.js"; prefetch(${JSON.stringify(
+ options
+ )});`
);
- }
- }
+ },
+ },
};
}