Image Optimization using Next.js' default loader is not compatible with `next export`.
-
Next export 시 Image Optimization 설정 문제JavaScript & TypeScript 2022. 1. 3. 18:44
문제점 Next.js project 에서 정적 배포를 하기 위해 next export 시도함. 에러 발생 Error: Image Optimization using Next.js' default loader is not compatible with next export. Possible solutions: Use next start to run a server, which includes the Image Optimization API. Use any provider which supports Image Optimization (like Vercel). Configure a third-party loader in next.config.js. Use the loader prop for next/image. ..