-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
32 lines (25 loc) · 874 Bytes
/
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
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
domains: ["firebasestorage.googleapis.com", "lh3.googleusercontent.com"],
},
env: {
FIREBASE_apiKey: "AIzaSyD3y87uRSYF-QbZ-DVYyPq_wHRrCn4dhGQ",
FIREBASE_authDomain: "everything-shivpuri-c7a4f.firebaseapp.com",
FIREBASE_projectId: "everything-shivpuri-c7a4f",
FIREBASE_storageBucket: "everything-shivpuri-c7a4f.appspot.com",
FIREBASE_messagingSenderId: "1027804056854",
FIREBASE_appId: "1:1027804056854:web:0995f75e3a387b1c83d437",
OPEN_WEATHER: "dd96dd6f7380ae41ed9106d253aecb4e",
},
swcMinify: true,
compiler: {
removeConsole: process.env.NODE_ENV !== "development",
},
};
const withPWA = require("next-pwa")({
dest: "public",
disable: process.env.NODE_ENV === "development",
register: true,
});
module.exports = withPWA(nextConfig);