@vercel/build-utils 8.4.5 → 8.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/types.d.ts +14 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/types.d.ts
CHANGED
@@ -367,9 +367,23 @@ export type RemotePattern = {
|
|
367
367
|
*/
|
368
368
|
search?: string;
|
369
369
|
};
|
370
|
+
export interface LocalPattern {
|
371
|
+
/**
|
372
|
+
* Can be literal or wildcard.
|
373
|
+
* Single `*` matches a single path segment.
|
374
|
+
* Double `**` matches any number of path segments.
|
375
|
+
*/
|
376
|
+
pathname?: string;
|
377
|
+
/**
|
378
|
+
* Can be literal query string such as `?v=1` or
|
379
|
+
* empty string meaning no query string.
|
380
|
+
*/
|
381
|
+
search?: string;
|
382
|
+
}
|
370
383
|
export interface Images {
|
371
384
|
domains: string[];
|
372
385
|
remotePatterns?: RemotePattern[];
|
386
|
+
localPatterns?: LocalPattern[];
|
373
387
|
sizes: number[];
|
374
388
|
minimumCacheTTL?: number;
|
375
389
|
formats?: ImageFormat[];
|