We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
More often than not for me, images should be lazy-loaded. So it would be great if we could make lazy loading images the default.
Of course, it's already possible to lazy load images with your plugin with
<Img src={require('filepath')} loading='lazy' />
But if we could set it as the default in the config, it would eliminate lots of extra work! Here's one idea for the syntax:
// images.config.js module.exports = { default: { loading: 'lazy', }, }
That way, it matches up with the syntax for the other config options.
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
More often than not for me, images should be lazy-loaded. So it would be great if we could make lazy loading images the default.
Of course, it's already possible to lazy load images with your plugin with
But if we could set it as the default in the config, it would eliminate lots of extra work! Here's one idea for the syntax:
That way, it matches up with the syntax for the other config options.
Thanks!
The text was updated successfully, but these errors were encountered: