-
Notifications
You must be signed in to change notification settings - Fork 4
/
next.config.mjs
48 lines (46 loc) · 901 Bytes
/
next.config.mjs
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
44
45
46
47
48
import './env/client.mjs'
import './env/server.mjs'
/** @type {import('next').NextConfig} */
const nextConfig = {
poweredByHeader: false,
reactStrictMode: true,
logging: {
fetches: {
fullUrl: true,
}
},
eslint: {
ignoreDuringBuilds: !!process.env.CI,
},
typescript: {
ignoreBuildErrors: !!process.env.CI,
},
images: {
dangerouslyAllowSVG: true,
contentSecurityPolicy: "script-src 'none';",
remotePatterns: [
{
protocol: 'https',
hostname: 'd1fwmfi01nicf2.cloudfront.net',
port: '',
pathname: '/pictures/**',
},
{
hostname: 'lh3.googleusercontent.com',
pathname: '/a/**',
protocol: 'https',
port: ''
},
{
hostname: 'source.boringavatars.com',
pathname: '/marble',
protocol: 'https',
port: ''
}
],
},
experimental: {
serverComponentsExternalPackages: ['@node-rs/argon2'],
}
}
export default nextConfig