fix(next/image): handle undefined `images.localPatterns` config in `images-manifest.json` (#70730)
Since `images.localPatterns` config can be undefined, we need to support that when emitting `images-manifest.json`. - When `undefined`, all local images are allowed - When `[]`, no local images are allowed Note this is different than `remotePatterns` since it treats `undefined` and `[]` the same (the default being no remote images are allowed).
Showing
Please
register
or
sign in
to comment