configuring-image-optimization
Installation
SKILL.md
Image Optimization Configuration in Next.js 16
Breaking Changes
1. Removed Configuration Options
domains (removed)
- Replaced by
remotePatterns - More secure with pattern matching instead of wildcard domain access
loader (removed for 'default')
- Custom loaders must now be specified explicitly
- No implicit fallback to default loader behavior
formats array changes
- AVIF format now enabled by default
- Order affects format preference during negotiation