-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathnext.config.ts
More file actions
33 lines (30 loc) · 880 Bytes
/
next.config.ts
File metadata and controls
33 lines (30 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import type { NextConfig } from "next";
/** @type {import('next').NextConfig} */
const nextConfig :NextConfig= {
images: {
domains: [
'cdn.jsdelivr.net',
'raw.githubusercontent.com',
'upload.wikimedia.org',
'logos-world.net',
'seeklogo.com',
'jenfcbtlwioirmvvsvur.supabase.co' // Supabase project domain
],
formats: ['image/webp', 'image/avif'],
deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048],
imageSizes: [16, 24, 32, 48, 64, 96, 128, 256],
dangerouslyAllowSVG: true,
contentSecurityPolicy:
"default-src 'self'; script-src 'none'; sandbox; img-src 'self' data: https:;",
minimumCacheTTL: 60 * 60 * 24 * 365, //cached for 1 year
loader: 'default',
},
eslint:{
ignoreDuringBuilds:true,
},
typescript:{
ignoreBuildErrors:true
},
compress: true,
}
export default nextConfig