-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathnext.config.js
More file actions
30 lines (28 loc) · 749 Bytes
/
next.config.js
File metadata and controls
30 lines (28 loc) · 749 Bytes
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
/** @type {import('next').NextConfig} */
// const withPWA = require("next-pwa")({
// pwa: {
// dest: 'public',
// disable: process.env.NODE_ENV === 'development',
// register: true,
// skipWaiting: true,
// },
// })
// module.exports = withPWA({
// // next.js config
// })
const nextConfig = {
images: {
domains: ["res.cloudinary.com"], // Specify the domains for images
},
compiler: {
styledComponents: true,
},
env: {
API_KEY: process.env.NEXT_PUBLIC_API_KEY,
MESSENGER_ID: process.env.NEXT_PUBLIC_MESSAGING_SENDER_ID,
APP_ID: process.env.NEXT_PUBLIC_APP_ID,
NEWS_KEY: process.env.NEXT_PUBLIC_NEWS_KEY,
BASE_URL: process.env.NEXT_PUBLIC_BASE_URL,
},
};
module.exports = nextConfig;