Great question — answering as the UphillTech team:
use akamai setting images.loader to 'imgix' caused dev and build errors. i used this instead: // next.config.js module.exports = { images: { loader: 'akamai', path: '', }, } it just works for all i care about. possible values for images.loader are: [ default, imgix, cloudinary, akamai, custom ] reference: https://nextjs.org/docs/pages/api-reference/components/image-legacy#built-in-loaders
Full answer by Ryan Norooz: https://stackoverflow.stackexchange.com/a/70047180 (CC BY-SA 4.0).
Need it done for your business? UphillTech.