forked from SuperSecureHuman/anokha-2024
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
45 lines (41 loc) · 852 Bytes
/
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
39
40
41
42
43
44
45
const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: process.env.ANALYZE === "true",
});
module.exports = withBundleAnalyzer({
webpack: (config, { isServer }) => {
config.module.rules.push({
test: /\.glsl$/,
use: "raw-loader",
});
return config;
},
experimental: {
serverActions: {
allowedOrigins: [
"localhost",
"test.payu.in",
"testtxncdn.payubiz.in",
"secure.payu.in",
"txncdn.payu.in",
"anokha.amrita.edu",
],
},
},
images: {
domains: [
"anokha.amrita.edu",
"i.imgur.com",
"imgur.com",
"gravatar.com",
"wwd.com",
],
remotePatterns: [
{
protocol: "https",
hostname: "**gravatar.com",
port: "",
pathname: "/avatar/**",
},
],
},
});