-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.mjs
More file actions
41 lines (39 loc) · 1.19 KB
/
next.config.mjs
File metadata and controls
41 lines (39 loc) · 1.19 KB
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
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
domains: [
'storage.googleapis.com',
'static.wanted.co.kr',
'cdn.jumpit.co.kr',
'grepp-programmers.s3.amazonaws.com',
'about.daangn.com',
'upload.wikimedia.org'
],
},
swcMinify: true,
reactStrictMode: false,
compiler: {
styledComponents: true,
},
async rewrites() {
return [
{
source: '/storybook',
destination: '/storybook-static/index.html',
},
{
source: '/storybook/:path*',
destination: '/storybook-static/:path*',
},
];
},
env: {
NEXT_PUBLIC_TOSS_CLIENT_KEY: process.env.NEXT_PUBLIC_TOSS_CLIENT_KEY,
NEXT_PUBLOC_TOSS_SECRET_KEY: process.env.NEXT_PUBLOC_TOSS_SECRET_KEY,
NEXT_PUBLIC_SERVER_URL: process.env.NEXT_PUBLIC_SERVER_URL,
NEXTAUTH_SECRET: process.env.NEXTAUTH_SECRET,
NEXT_PUBLIC_CLIENT_URL: process.env.NEXT_PUBLIC_CLIENT_URL,
NEXTAUTH_URL_INTERNAL: process.env.NEXTAUTH_URL_INTERNAL
},
};
export default nextConfig;