frontenso-11ty-starter
frontenso-11ty-starter copied to clipboard
Image Configuration Bug
Great starter for 11ty. I did a few updates for my setup that I'd love to share with you one day, when I have some time. I added globbing for scss and js so you don't need to manually add each component scss and js to the main files.
When building and watching development, images are getting processed The below error shows in terminal.
Eleventy Error [11ty] Benchmark 612ms 95% 27× (Configuration) "image" Nunjucks Shortcode
I looked at the js for the image shortcode and it looks like the correct properties are being provided the the 11ty Image plugin. Are you coming across this error?
Great starter for 11ty. I did a few updates for my setup that I'd love to share with you one day, when I have some time. I added globbing for scss and js so you don't need to manually add each component scss and js to the main files.
Thank you!
When building and watching development, images are getting processed The below error shows in terminal.
Eleventy Error [11ty] Benchmark 612ms 95% 27× (Configuration) "image" Nunjucks Shortcode
I looked at the js for the image shortcode and it looks like the correct properties are being provided the the 11ty Image plugin. Are you coming across this error?
Yes, I saw this error in the terminal too. I think it's related to the circumstance that generating images using 11ty-image
takes some time. So it's probably more like a warning than an error, if I get it right.
I also spent some time trying to add caching to images, so they don't need to be regenerated every time but nothing I tried was any faster. haha. Oh well. Having code to see if the image exists takes just as long as the build just creating the image variants.
I will try to find a way to optimise image generation. Because yeah, my team and I faced an issue before where the image generation took ages for pages with really big amounts of images.