-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnext.config.js
51 lines (51 loc) · 1.17 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
module.exports = {
reactStrictMode: true,
swcMinify: true,
compiler: {
emotion: true,
},
async rewrites() {
return {
beforeFiles: [
{
source: '/kennisbank/:path*',
destination: '/education-center/:path*',
},
{
source: '/datenbank/:path*',
destination: '/education-center/:path*',
},
{
source: '/centre-de-connaissance/:path*',
destination: '/education-center/:path*',
},
{
source: '/klantenservice/:path*',
destination: '/customer-service/:path*',
},
{
source: '/kundenservice/:path*',
destination: '/customer-service/:path*',
},
{
source: '/service-clients/:path*',
destination: '/customer-service/:path*',
},
],
};
},
images: {
domains: [
'source.unsplash.com',
'images.unsplash.com',
'images.prismic.io',
'static.diamondsbyme.com',
'cdn2.diamondsbyme.com',
],
},
i18n: {
locales: ['en-gb', 'nl-nl', 'nl-be', 'en-us', 'fr-fr', 'de-de'],
defaultLocale: 'nl-nl',
localeDetection: false,
},
};