When using the next/image
component with loader="custom"
in next.config.js
, you must provide the loader
prop to the component with your custom implementation.
loader
prop to all usages of the next/image
component.loader
configuration in next.config.js
.