-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.js
More file actions
49 lines (48 loc) · 1.29 KB
/
next.config.js
File metadata and controls
49 lines (48 loc) · 1.29 KB
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
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
images: {
domains: ['images.unsplash.com', 'www.iconsdb.com', 'www.globalassets.starbucks.com', 'starbucksstatic.cognizantorderserv.com'],
remotePatterns: [
{
protocol: 'https',
hostname: 'images.unsplash.com',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'www.iconsdb.com',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'www.globalassets.starbucks.com',
pathname: '/digitalassets/products/bev/**',
},
{
protocol: 'https',
hostname: 'starbucksstatic.cognizantorderserv.com',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'sea-stones.com',
pathname: '/cdn/shop/products/**',
},
{
protocol: 'https',
hostname: 'cdn-icons-png.freepik.com',
pathname: '/256/3289/3289063.png?semt=ais_hybrid',
}
],
deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048],
imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
},
swcMinify: true,
compiler: {
removeConsole: process.env.NODE_ENV === 'production',
},
poweredByHeader: false,
trailingSlash: true,
};
module.exports = nextConfig;