-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnext.config.ts
More file actions
26 lines (23 loc) · 914 Bytes
/
Copy pathnext.config.ts
File metadata and controls
26 lines (23 loc) · 914 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
import type { NextConfig } from 'next'
import createNextIntlPlugin from 'next-intl/plugin'
const nextConfig: NextConfig = {
images: {
remotePatterns: [
{ protocol: 'https', hostname: 'images.unsplash.com' },
{ protocol: 'https', hostname: '6234779.fs1.hubspotusercontent-na1.net' },
{ protocol: 'https', hostname: 'github.com' },
{ protocol: 'https', hostname: 'encrypted-tbn0.gstatic.com' },
{ protocol: 'https', hostname: 'classroom.strawbees.com' },
{ protocol: 'https', hostname: 'strawbees.com' },
{ protocol: 'http', hostname: 'res.cloudinary.com' },
{ protocol: 'https', hostname: 'res.cloudinary.com' }
],
formats: ['image/webp'],
minimumCacheTTL: 2678400,
deviceSizes: [640, 768, 1024],
imageSizes: [16, 32, 64, 128],
qualities: [75]
}
}
const withNextIntl = createNextIntlPlugin()
export default withNextIntl(nextConfig)