-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
28 lines (26 loc) · 895 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
/** @type {import('next').NextConfig} */
const nextConfig = {
modularizeImports: {
'@mui/material': {
transform: '@mui/material/{{member}}'
},
'@mui/lab': {
transform: '@mui/lab/{{member}}'
}
},
images: {
domains: ['flagcdn.com']
},
transpilePackages: ['react-syntax-highlighter'],
env: {
NEXT_PUBLIC_API_BASE_URL: process.env.NEXT_PUBLIC_API_BASE_URL,
NEXT_API_BASE_URL: process.env.NEXT_API_BASE_URL,
NEXTAUTH_URL: process.env.NEXTAUTH_URL,
REACT_APP_VERSION: process.env.REACT_APP_VERSION,
NEXTAUTH_SECRET: process.env.NEXTAUTH_SECRET_KEY,
NEXT_APP_API_URL: process.env.REACT_APP_API_URL,
NEXT_APP_JWT_SECRET: process.env.REACT_APP_JWT_SECRET,
NEXT_APP_JWT_TIMEOUT: process.env.REACT_APP_JWT_TIMEOUT,
}
};
module.exports = nextConfig;