rsnext/test/integration/next-image-new
Johannes Obermair 82ed6a3b0d
Fix next/image config injection during static generation (#47007)
Fixes #39330.

I've not added a new test, but extended the existing test instead (and
re-enabled it).

It seems to me that a custom next/image config was not considered during
static generation (which itself uses `next export`?) before. Adding the
config to `renderOpts` in `packages/next/src/export/index.ts` resolves
the issue.
2023-03-13 10:47:05 -07:00
..
asset-prefix BREAKING CHANGE: Rename next/image to next/legacy/image & rename next/future/image to next/image (#41399) 2022-10-14 01:59:22 +00:00
base-path Update test env variable passing (#44912) 2023-01-15 23:20:16 -08:00
both-basepath-trailingslash Fix next/image 404 when basePath and trailingSlash defined (#44312) 2022-12-23 23:04:26 +00:00
default fix: should not warn when image unmounts (#46567) 2023-02-28 11:28:55 -08:00
export-config Add support for output: export config (#46744) 2023-03-04 00:46:20 +00:00
image-from-node-modules Fix next/image config injection during static generation (#47007) 2023-03-13 10:47:05 -07:00
invalid-image-import Add project directory rename/remove handling (#44911) 2023-01-18 14:37:40 -08:00
loader-config Add support for images.loaderFile config (#41585) 2022-10-21 12:31:53 -07:00
react-virtualized BREAKING CHANGE: Rename next/image to next/legacy/image & rename next/future/image to next/image (#41399) 2022-10-14 01:59:22 +00:00
svgo-webpack BREAKING CHANGE: Rename next/image to next/legacy/image & rename next/future/image to next/image (#41399) 2022-10-14 01:59:22 +00:00
trailing-slash BREAKING CHANGE: Rename next/image to next/legacy/image & rename next/future/image to next/image (#41399) 2022-10-14 01:59:22 +00:00
typescript feat: set a better type for the default image loader (#41639) 2022-10-24 23:59:07 +00:00
unicode BREAKING CHANGE: Rename next/image to next/legacy/image & rename next/future/image to next/image (#41399) 2022-10-14 01:59:22 +00:00
unoptimized BREAKING CHANGE: Rename next/image to next/legacy/image & rename next/future/image to next/image (#41399) 2022-10-14 01:59:22 +00:00