forked from deezy-inc/deezy-place
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
36 lines (33 loc) · 1 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
/* eslint-disable */
const path = require("path");
const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: process.env.ANALYZE === "true",
});
module.exports = withBundleAnalyzer({
reactStrictMode: false,
sassOptions: {
includePaths: [path.join(__dirname, "./src/assets/scss")],
},
images: {
domains: [
"ordinals.com",
"d2v3k2do8kym1f.cloudfront.net",
"https://ordinals.com",
"https://explorer-signet.openordex.org",
],
unoptimized: true,
},
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
// eslint-disable-next-line no-param-reassign
(config.experiments = {
asyncWebAssembly: true,
layers: true,
}),
(config.ignoreWarnings = [
{
message: /(magic-sdk|@walletconnect\/web3-provider|@web3auth\/web3auth)/,
},
]);
return config;
},
});