next-optimized-images
next-optimized-images copied to clipboard
add custom loader to next.config.js in README
In order to get my Next.js project to export using next export
I had to add this code to the next.config.js:
images: {
loader: 'custom'
}
See https://github.com/vercel/next.js/issues/21079#issuecomment-899535752