forked from sopt-makers/sopt.org-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.js
More file actions
31 lines (29 loc) · 719 Bytes
/
next.config.js
File metadata and controls
31 lines (29 loc) · 719 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
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
eslint: {
ignoreDuringBuilds: true,
},
images: {
domains: [
'sopt-makers.s3.ap-northeast-2.amazonaws.com',
's3.ap-northeast-2.amazonaws.com',
'makers-web-img.s3.ap-northeast-2.amazonaws.com',
'user-images.githubusercontent.com',
'avatars.githubusercontent.com',
'i.ibb.co',
'velog.velcdn.com',
'leadership.ng',
'github.githubassets.com',
'img1.daumcdn.net',
],
},
webpack: (config) => {
config.module.rules.push({
test: /\.svg$/,
use: ['@svgr/webpack', 'url-loader'],
});
return config;
},
};
module.exports = nextConfig;