-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
32 lines (31 loc) · 856 Bytes
/
next.config.js
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
const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
})
module.exports = withBundleAnalyzer({
...(process.env.NETLIFY === 'true' && { target: 'serverless' }),
images: {
deviceSizes: [320, 500, 680, 1040, 2080, 2048, 3120],
domains: [
'localhost',
'images.unsplash.com',
'static.gotsby.org',
'static.ghost.org',
'hooshmand.net',
'cms.jamify.org',
'demo.jamify.org',
'www.jamify.org',
'www.gatsbyjs.org',
'cdn.commento.io',
'gatsby.ghost.io',
'ghost.org',
'repository-images.githubusercontent.com',
'www.gravatar.com',
'github.githubassets.com',
'www.crio.do',
'drive.google.com',
'lh3.googleusercontent.com',
'lh6.googleusercontent.com',
],
},
reactStrictMode: true,
})