-
Notifications
You must be signed in to change notification settings - Fork 3
/
next.config.js
39 lines (38 loc) · 1.1 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
require('dotenv').config()
/* 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,
env: {
DOMAIN: process.env.DOMAIN || 'api.anypayx.com',
API_BASE: process.env.API_BASE || 'https://api.anypayx.com',
NEXT_PUBLIC_API_BASE: process.env.NEXT_PUBLIC_API_BASE || 'https://api.anypayx.com',
DEV_HOST_API_KEY: 'http://localhost:8000/v1',
HOST_API_KEY: 'https://anypayx.com/v1',
// FIREBASE AUTH
FIREBASE_API_KEY: '',
FIREBASE_AUTH_DOMAIN: '',
FIREBASE_PROJECT_ID: '',
FIREBASE_STORAGE_BUCKET: '',
FIREBASE_MESSAGING_SENDER_ID: '',
FIREBASE_APPID: '',
FIREBASE_MEASUREMENT_ID: '',
// AWS COGNITO AUTH
AWS_COGNITO_USER_POOL_ID: '',
AWS_COGNITO_CLIENT_ID: '',
// AUTH0 AUTH
AUTH0_CLIENT_ID: '',
AUTH0_DOMAIN: '',
//
MAPBOX: '',
},
});