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:
parent
d137169b7b
commit
91635f05df
2 changed files with 6 additions and 1 deletions
5
.changeset/light-moons-protect.md
Normal file
5
.changeset/light-moons-protect.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'@astrojs/prefetch': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix integration name (`prefetch` instead of `lit`)
|
|
@ -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).
|
||||||
|
|
Loading…
Reference in a new issue