-
Notifications
You must be signed in to change notification settings - Fork 2
/
next.config.js
41 lines (40 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
37
38
39
40
41
/** @type {import('next').NextConfig} */
const nextConfig = {
productionBrowserSourceMaps: true,
experimental: {
serverComponentsExternalPackages: ["airtable"],
},
logging: {
fetches: {
fullUrl: true,
},
},
redirects: async () => {
return [
{
source: "/jobs",
destination: "https://jobs.lever.co/risklabs",
permanent: false,
},
{
source: "/products",
destination: "https://projects.uma.xyz",
permanent: false,
},
{
source: "/faq",
destination: "https://docs.uma.xyz/protocol-overview/dvm-2.0-faq",
permanent: false,
},
{
source: "/uma.tokenlist.json",
destination: "https://raw.githubusercontent.com/UMAprotocol/website/master/public/uma.tokenlist.json",
permanent: false,
},
];
},
};
const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: process.env.ANALYZE === "true",
});
module.exports = withBundleAnalyzer(nextConfig);