-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
43 lines (40 loc) · 1.19 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'lh3.googleusercontent.com',
port: '',
pathname: '/a/**',
},
{
protocol: 'https',
hostname: 'avatars.githubusercontent.com',
port: '',
pathname: '/u/**',
},
{
protocol: 'https',
hostname: 'static-cdn.jtvnw.net',
port: '',
pathname: '/jtv_user_pictures/**',
},
{
protocol: 'https',
hostname: 'img.clerk.com',
port: '',
pathname: '/**',
}
],
},
typescript: {
ignoreBuildErrors: true,
},
}
/**
* This is needed to make the remote images work with our application.
* For example, when we are receiving a user profile picture from a Clerk sign-in/sign-up, we need to make sure
* that the image is understood by our application, so that we are able to use it moving forward.
*/
module.exports = nextConfig