-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
30 lines (29 loc) · 950 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
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
trailingSlash: true,
images: {
loader: "akamai",
path: "/public",
domains: ["firebasestorage.googleapis.com"],
},
exportPathMap: async function (
defaultPathMap,
{ dev, dir, outDir, distDir, buildId }
) {
return {
"/": { page: "/", query: { __nextDefaultLocale: "en" } },
"/home": { page: "/", query: { __nextDefaultLocale: "en" } },
"/about": { page: "/about", query: { __nextDefaultLocale: "en" } },
"/speakers": { page: "/speakers", query: { __nextDefaultLocale: "en" } },
"/sponsors": { page: "/sponsors", query: { __nextDefaultLocale: "en" } },
"/speakers": { page: "/speakers", query: { __nextDefaultLocale: "en" } },
"/campaigns": {
page: "/campaigns",
query: { __nextDefaultLocale: "en" },
},
};
},
};
module.exports = nextConfig;