Code Monkey home page Code Monkey logo

Comments (3)

einomi avatar einomi commented on May 20, 2024 1

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.

from frontenso-11ty-starter.

rossberenson avatar rossberenson commented on May 20, 2024

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.

from frontenso-11ty-starter.

einomi avatar einomi commented on May 20, 2024

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.

from frontenso-11ty-starter.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.