Commit graph

3 commits

Author SHA1 Message Date
Donghyuk (Jacob) Jang
9f2949feba
fix: wrong reference url for disableStaticImages (#39362)
## Minor Improvement
- doc of `disableStaticImages` has an incorrect reference link.


Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
2022-08-05 15:49:58 +00:00
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
Balázs Orbán
6178e7cf6d
fix: make sure image-config gets transpiled (#34677) 2022-02-22 09:27:18 -05:00
Renamed from packages/next/server/image-config.ts (Browse further)