-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
44 lines (42 loc) · 1.13 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
/* eslint-disable @typescript-eslint/no-var-requires */
const withTM = require('next-transpile-modules')([
'@fullcalendar/common',
'@fullcalendar/daygrid',
'@fullcalendar/interaction',
'@fullcalendar/list',
'@fullcalendar/react',
'@fullcalendar/timegrid',
'@fullcalendar/timeline',
]);
module.exports = withTM({
swcMinify: false,
trailingSlash: true,
webpack(config) {
config.resolve.fallback = {
...config.resolve.fallback, // if you miss it, all the other options in fallback, specified
// by next.js will be dropped. Doesn't make much sense, but how it is
fs: false, // the solution
};
return config;
},
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: '',
},
});