diff options
author | 2022-06-27 18:28:16 +0000 | |
---|---|---|
committer | 2022-06-27 18:28:16 +0000 | |
commit | cb3fcdde6a1e37e82b672f962d75df2392628519 (patch) | |
tree | e29078c846dea4341fe00a6f988da06ce2cd16fe /packages/integrations/prefetch/src/index.ts | |
parent | 79fe09fa3093eb8ac2871c1894b9cddf557aecba (diff) | |
download | astro-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.ts | 8 |
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 + )});` ); - } - } + }, + }, }; } |