forked from codeit-si/buildone-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.js
More file actions
31 lines (27 loc) · 699 Bytes
/
next.config.js
File metadata and controls
31 lines (27 loc) · 699 Bytes
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
/* eslint-disable @typescript-eslint/no-var-requires */
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
forceSwcTransforms: true,
},
webpack: (config) => {
config.module.rules.push({
test: /\.svg$/i,
use: ["@svgr/webpack"],
});
return config;
},
};
// module.exports = nextConfig;
const { withSentryConfig } = require("@sentry/nextjs");
module.exports = withSentryConfig(nextConfig, {
org: "bigroot",
project: "buildone",
silent: !process.env.CI,
widenClientFileUpload: true,
reactComponentAnnotation: {
enabled: process.env.NODE_ENV === "development",
},
tunnelRoute: "/monitoring",
disableLogger: true,
});