0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -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 {
return {
name: '@astrojs/lit',
name: '@astrojs/prefetch',
hooks: {
'astro:config:setup': ({ updateConfig, addRenderer, injectScript }) => {
// Inject the necessary polyfills on every page (inlined for speed).