rsnext/test/integration/next-image-new/image-from-node-modules
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
..
node_modules
pages
test Fix next/image config injection during static generation (#47007) 2023-03-13 10:47:05 -07:00
next.config.js Fix next/image config injection during static generation (#47007) 2023-03-13 10:47:05 -07:00