-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.mjs
54 lines (51 loc) · 1 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
50
51
52
53
54
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "**.ipfs.w3s.link",
},
{
protocol: "https",
hostname: "images.unsplash.com",
},
{
protocol: "https",
hostname: "images.unsplash.com",
},
{
protocol: "https",
hostname: "studio.arttribute.io",
},
{
protocol: "https",
hostname: "api.astria.ai",
},
{
protocol: "https",
hostname: "res.cloudinary.com",
},
{
protocol: "https",
hostname: "cdn1.iconfinder.com",
},
{
protocol: "https",
hostname: "github.com",
},
],
},
webpack: (config) => {
config.experiments = {
asyncWebAssembly: true,
layers: true
}
config.module.rules.push({
test: /\.wasm$/,
type: 'webassembly/async',
});
return config
}
};
export default nextConfig;