-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathnext.config.js
38 lines (36 loc) · 1.24 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
/**
* @type {import('next').NextConfig}
*/
const nextConfig = {
output: "standalone",
webpack: (config) => {
// The below are required for the cardano serialization library
config.experiments.asyncWebAssembly = true;
config.experiments.topLevelAwait = true;
config.module.exprContextCritical = false;
// Important: return the modified config
return config;
},
images: {
remotePatterns: [
{ hostname: "saturnnft.io" },
{ hostname: "saturn-production.nyc3.digitaloceanspaces.com" },
{ hostname: "saturn-staging.nyc3.digitaloceanspaces.com" },
{ hostname: "saturn-sandbox.nyc3.digitaloceanspaces.com" },
{ hostname: "saturn-production.nyc3.cdn.digitaloceanspaces.com" },
{ hostname: "ipfs.io" },
{ hostname: "ipfs.blockfrost.dev" },
{ hostname: "localhost" },
{ hostname: "gateway.pinata.cloud" },
{ hostname: "nftstorage.link" },
{ hostname: "dweb.link" },
{ hostname: "cf-ipfs.com" },
{ hostname: "ipfs" },
],
},
// i18n: {
// locales: ['en'],
// defaultLocale: 'en',
// },
};
module.exports = nextConfig;