-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
38 lines (37 loc) · 900 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
33
34
35
36
37
38
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
i18n: {
locales: ["en-SG", "en-MY", "en-AE", "en-TH", "th-TH", "en-HK", "zh-HK"],
defaultLocale: "en-SG",
domains: [
{
domain: "sa-locale-sg.vercel.app",
defaultLocale: "en-US",
locales: ["en-SG"],
},
{
domain: "sa-locale-my.vercel.app",
defaultLocale: "en-MY",
locales: ["en-MY"],
},
{
domain: "sa-locale-ae.vercel.app",
defaultLocale: "en-AE",
locales: ["en-AE"],
},
{
domain: "sa-locale-th.vercel.app",
defaultLocale: "en-TH",
locales: ["en-TH", "th-TH"],
},
{
domain: "sa-locale-hk.vercel.app",
defaultLocale: "en-HK",
locales: ["en-HK", "zh-HK"],
},
],
},
};
module.exports = nextConfig;