UNPKG

1.27 kBSource Map (JSON)View Raw
1{"version":3,"sources":["../../../next-server/server/image-config.ts"],"names":["VALID_LOADERS","imageConfigDefault","deviceSizes","imageSizes","path","loader","domains","disableStaticImages"],"mappings":"6FAAO,KAAMA,CAAAA,aAAa,CAAG,CAC3B,SAD2B,CAE3B,OAF2B,CAG3B,YAH2B,CAI3B,QAJ2B,CAAtB,C,oCAkBA,KAAMC,CAAAA,kBAA+B,CAAG,CAC7CC,WAAW,CAAE,CAAC,GAAD,CAAM,GAAN,CAAW,GAAX,CAAgB,IAAhB,CAAsB,IAAtB,CAA4B,IAA5B,CAAkC,IAAlC,CAAwC,IAAxC,CADgC,CAE7CC,UAAU,CAAE,CAAC,EAAD,CAAK,EAAL,CAAS,EAAT,CAAa,EAAb,CAAiB,EAAjB,CAAqB,GAArB,CAA0B,GAA1B,CAA+B,GAA/B,CAFiC,CAG7CC,IAAI,CAAE,cAHuC,CAI7CC,MAAM,CAAE,SAJqC,CAK7CC,OAAO,CAAE,EALoC,CAM7CC,mBAAmB,CAAE,KANwB,CAAxC,C","sourcesContent":["export const VALID_LOADERS = [\n 'default',\n 'imgix',\n 'cloudinary',\n 'akamai',\n] as const\n\nexport type LoaderValue = typeof VALID_LOADERS[number]\n\nexport type ImageConfig = {\n deviceSizes: number[]\n imageSizes: number[]\n loader: LoaderValue\n path: string\n domains?: string[]\n disableStaticImages: boolean\n}\n\nexport const imageConfigDefault: ImageConfig = {\n deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],\n imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],\n path: '/_next/image',\n loader: 'default',\n domains: [],\n disableStaticImages: false,\n}\n"]}
\No newline at end of file