rsnext/test/integration/image-component/asset-prefix
Steven da8d1984d2
Add experimental wildcard remotePatterns config for upstream images (#36245)
## Description 
This PR implements a new configuration object in `next.config.js` called `experimental.images.remotePatterns`.

This will eventually deprecate `images.domains` because it covers the same use cases and more by allowing wildcard pattern matching on `hostname` and `pathname` and also allows restricting `protocol` and `port`.

## Feature

- [x] Implements an existing feature request.
- [x] Related issues linked
- [x] Unit tests added
- [x] Integration tests added
- [x] Documentation added
- [x] Telemetry added. In case of a feature if it's used or not.
- [x] Errors have helpful link attached, see `contributing.md`

## Related 

- Fixes #27925 
- Closes #18429 
- Closes #18632
- Closes #18730
- Closes #27345
2022-05-05 02:19:16 +00:00
..
pages Add test for placeholder=blur with assetPrefix (#27120) 2021-07-12 18:58:20 +00:00
public Add test for placeholder=blur with assetPrefix (#27120) 2021-07-12 18:58:20 +00:00
test make static image import output path consistent with other media (#30168) 2021-10-22 13:25:54 +00:00
next.config.js Add experimental wildcard remotePatterns config for upstream images (#36245) 2022-05-05 02:19:16 +00:00