forked from soustab10/fmc24-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
20 lines (18 loc) · 828 Bytes
/
next.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
images: {
domains: ["images.unsplash.com", 'fmcweekend24.s3.ap-south-1.amazonaws.com', 'lh4.googleusercontent.com', 'lh3.googleusercontent.com', 'lh5.googleusercontent.com', 'lh6.googleusercontent.com', 'cdn.animaapp.com', 'res.cloudinary.com', 'drive.google.com','scontent.cdninstagram.com'],
},
publicRuntimeConfig: {
GOOGLE_CLIENT_ID: process.env.GOOGLE_CLIENT_ID,
NEXT_PUBLIC_REACT_APP_BACKEND_URI: process.env.NEXT_PUBLIC_REACT_APP_BACKEND_URI,
CLOUD_NAME: process.env.CLOUD_NAME,
CLOUDINARY_API_KEY: process.env.CLOUDINARY_API_KEY,
CLOUDINARY_API_SECRET: process.env.CLOUDINARY_API_SECRET,
},
compiler: {
removeConsole: process.env.NODE_ENV === 'production',
}
};
module.exports = nextConfig;