-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.mjs
49 lines (47 loc) · 1.09 KB
/
next.config.mjs
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
import million from 'million/compiler';
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
ppr: true,
reactCompiler: true,
},
async redirects() {
return [
{
source: '/music-playlist/:id',
destination: '/playlists/:id',
permanent: true,
},
];
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'shared.akamai.steamstatic.com',
pathname: '/store_item_assets/steam/apps/**',
},
{
protocol: 'https',
hostname: 'steamcdn-a.akamaihd.net',
pathname: '/steamcommunity/public/images/apps/**',
},
{
protocol: 'https',
hostname: 'media.steampowered.com',
pathname: '/steamcommunity/public/images/apps/**',
},
{
protocol: 'https',
hostname: 'minio-api.dev.mattglei.ch',
pathname: '/mapbox-maps/**',
},
{
protocol: 'https',
hostname: 'is1-ssl.mzstatic.com',
pathname: '/image/**',
},
],
},
};
export default million.next(nextConfig);