rsnext/test/integration/next-image-new
Zack Tanner a2b781fafe
fix image.domains deprecation warning (#58656)
### What?
In #57062, a deprecation warning was added for usage of `nextConfig.images.domains`. This warning was erroneously showing up for users that had an `assetPrefix` configured.

### Why?
When an `assetPrefix` specified, during assignment for `nextConfig` default values, we push to `nextConfig.images.domains` so that the user doesn't receive errors about hostnames not being configured ([Original PR](https://github.com/vercel/next.js/pull/29307)). This means people are indirectly being opted into a deprecated config, and receiving a warning because of it.

### How?
We no longer push any defaults to the deprecated config option. Additionally, this applies the same defaults handling to `remotePatterns,` as otherwise people using this new config will run into the same issue as this block was originally intended to fix.

Fixes #58074
2023-11-22 02:20:59 +00:00
..
app-dir Revert "chore(next/image): remove deprecation of onLoadingComplete temporarily" (#57024) 2023-10-19 00:15:31 +00:00
asset-prefix fix image.domains deprecation warning (#58656) 2023-11-22 02:20:59 +00:00
base-path More Turbopack fixes (#56275) 2023-10-02 09:42:32 +02:00
both-basepath-trailingslash Skip production tests for Turbopack (#56089) 2023-09-27 15:19:42 +02:00
default Revert "chore(next/image): remove deprecation of onLoadingComplete temporarily" (#57024) 2023-10-19 00:15:31 +00:00
export-config chore(docs): update next export to output: 'export' (#47717) 2023-03-31 02:04:23 +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 Skip production tests for Turbopack (#56089) 2023-09-27 15:19:42 +02:00
loader-config More test updates (#56146) 2023-09-28 13:11:11 +02:00
loader-config-default-loader-with-file Skip production tests for Turbopack (#56089) 2023-09-27 15:19:42 +02:00
loader-config-edge-runtime Skip production tests for Turbopack (#56089) 2023-09-27 15:19:42 +02:00
middleware Logging improvements (#55298) 2023-09-13 15:27:02 +02:00
react-virtualized More Turbopack test fixes (#56248) 2023-10-01 17:50:03 +02:00
svgo-webpack Revert "perf: enable webpack build worker (#57346)" (#57854) 2023-11-01 02:57:37 +00:00
trailing-slash Skip production tests for Turbopack (#56089) 2023-09-27 15:19:42 +02:00
typescript More Turbopack fixes (#56299) 2023-10-02 13:55:23 +00:00
unicode Skip production tests for Turbopack (#56089) 2023-09-27 15:19:42 +02:00
unoptimized Skip production tests for Turbopack (#56089) 2023-09-27 15:19:42 +02:00