Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.34 KB

export-image-api.mdx

File metadata and controls

26 lines (18 loc) · 1.34 KB
title
Export with Image Optimization API

Why This Error Occurred

You configured output: 'export' (or ran next export) while importing the next/image component using the default loader configuration.

However, the default loader relies on the Image Optimization API which is not available for exported applications.

This is because Next.js optimizes images on-demand, as users request them (not at build time).

Possible Ways to Fix It

Useful Links