0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00

Fix integration name (prefetch instead of lit) (#3778)

This commit is contained in:
hippotastic 2022-06-30 19:53:01 +02:00 committed by GitHub
parent d137169b7b
commit 91635f05df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'@astrojs/prefetch': patch
---
Fix integration name (`prefetch` instead of `lit`)

View file

@ -3,7 +3,7 @@ import type { PrefetchOptions } from './client.js';
export default function (options: PrefetchOptions = {}): AstroIntegration { export default function (options: PrefetchOptions = {}): AstroIntegration {
return { return {
name: '@astrojs/lit', name: '@astrojs/prefetch',
hooks: { hooks: {
'astro:config:setup': ({ updateConfig, addRenderer, injectScript }) => { 'astro:config:setup': ({ updateConfig, addRenderer, injectScript }) => {
// Inject the necessary polyfills on every page (inlined for speed). // Inject the necessary polyfills on every page (inlined for speed).