-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[nuxt3] Static image prerendering endless loop #662
Comments
Can you provide on https://stackblitz.com/ minimal reproduction and share there? Everyone can help better |
This comment was marked as outdated.
This comment was marked as outdated.
@Triloworld I just pushed a reproduction repo for you to check. Some instructions in the README. Thank you. |
Happens for me too, although it's not endless. But it's still folder after folder after folder after folder and so on. image: {
presets: {
test: {
modifiers: {
format: 'jpg',
width: 60,
height: 60
}
}
}
} and <nuxt-img src="/testimage.jpg" preset="test" /> renders as <img src="/_ipx/f_jpg,s_60x60/testimage.jpg"> and results in the loop mentioned. It doesn't matter if the image exists anywhere or not, using custom |
See reproduction: https://github.com/brunodeangelis/nuxt3-image-endless-loop
Static prerendering introduced in #614 seems to be generating an endless loop when running
yarn generate
. This seems to be associated in some way with theformat
optionIf I let it run, it just keeps creating more and more directories as seen here:
Any help appreciated, thank you
The text was updated successfully, but these errors were encountered: