-
Notifications
You must be signed in to change notification settings - Fork 1
/
next.config.js
48 lines (46 loc) · 1.01 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
44
45
46
47
48
module.exports = {
swcMinify: false,
trailingSlash: true,
env: {
// HOST
HOST_API_KEY: 'https://api-dev-minimal-v4.vercel.app',
// MAPBOX
MAPBOX_API: '',
// FIREBASE
FIREBASE_API_KEY: '',
FIREBASE_AUTH_DOMAIN: '',
FIREBASE_PROJECT_ID: '',
FIREBASE_STORAGE_BUCKET: '',
FIREBASE_MESSAGING_SENDER_ID: '',
FIREBASE_APPID: '',
FIREBASE_MEASUREMENT_ID: '',
// AWS COGNITO
AWS_COGNITO_USER_POOL_ID: '',
AWS_COGNITO_CLIENT_ID: '',
// AUTH0
AUTH0_DOMAIN: '',
AUTH0_CLIENT_ID: '',
},
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
webpack: (config) => {
config.module.rules.push({
test: /\.svg$/,
use: ['@svgr/webpack'],
});
return config;
},
reactStrictMode: false,
// async rewrites() {
// return [
// {
// source: 'http://walab.handong.edu:8080/sw_mileage/download/api/excel/download/category',
// destination: '/',
// },
// ];
// },
};