Skip to content

Commit

Permalink
fix(types): sync vercel build config types (#1056)
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdiboomeri authored Mar 15, 2023
1 parent 78934a6 commit 7a6c5b4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/types/presets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ export interface VercelBuildConfigV3 {
images?: {
sizes: number[];
domains: string[];
remotePatterns?: {
protocol?: "http" | "https";
hostname: string;
port?: string;
pathname?: string;
}[];
minimumCacheTTL?: number;
formats?: ("image/avif" | "image/webp")[];
dangerouslyAllowSVG?: boolean;
Expand All @@ -40,6 +46,10 @@ export interface VercelBuildConfigV3 {
}
>;
cache?: string[];
crons?: {
path: string;
schedule: string;
}[];
}

export interface PresetOptions {
Expand Down

0 comments on commit 7a6c5b4

Please sign in to comment.