`nuxt generate` when an image is inside a dynamic component
When using a static generated Nuxt deployment, i.e. nuxt generate, images which are inside dynamic components e.g. <component :is="getComponentName" /> aren't created and have no counterparts generated inside .output/public/ipx.
I haven't created a minimal reproduction because I've lost a fair chunk of my work day to this, but I have been testing within my project repo(s) and I'm confident that is the cause of the missing image issue I've been debugging today.
If an image is only used at a given size inside a dynamic component, the generate script doesn't seem to pick it up.
If for instance you reference the same image file at the same sizes outside of a dynamic component and inside a dynamic component, the image will be fine inside the dynamic component because it's already been generated in the context which the generate script has picked up.
I've tested this with ipx (both as explicitly specified in Nuxt config, and as default) and ipxStatic providers. I can't say for sure whether it's related to that provider but I suspect it is.
Forgive me if this exact scenario is already logged, I can see a lot of open issues with many overlapping terms.