Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You are talking about exporting app more precisely, which outputs a bunch of HTML files (vs using SSG for only some pages). You can keep the Image tag around very easily, there is an option to treat it as normal img tag, so no it doesn't block exporting, and I've tested it to confirm. Use an environment variable to enable or disable exporting. Edit to add reference: https://nextjs.org/docs/api-reference/next/image#unoptimized


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: