Skip to content

fix(nuxt-img, nuxt-picture): return empty object from head when preload is disabled - #528

Merged
pi0 merged 1 commit into
nuxt:mainfrom
etchteam:main
Jun 22, 2022
Merged

fix(nuxt-img, nuxt-picture): return empty object from head when preload is disabled#528
pi0 merged 1 commit into
nuxt:mainfrom
etchteam:main

Conversation

@gavmck

@gavmck gavmck commented Jun 22, 2022

Copy link
Copy Markdown
Contributor

Fixes #527 where not preloading images causes the app to throw an error.

@pi0 pi0 changed the title fix: no return from head breaks nuxt fix(nuxt-img, nuxt-picture): return empty object from head when preload is disabled Jun 22, 2022

@pi0 pi0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

@pi0
pi0 merged commit 86088e4 into nuxt:main Jun 22, 2022
procrates pushed a commit to procrates/nuxt-image that referenced this pull request Feb 21, 2023
@github-actions github-actions Bot mentioned this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot read property 'link' of undefined when not preloading images

2 participants