jsoncrack.com/next.config.js

27 lines
451 B
JavaScript
Raw Normal View History

2023-05-22 11:49:38 +03:00
const { withSentryConfig } = require("@sentry/nextjs");
2023-01-29 19:45:09 +03:00
2022-04-27 13:56:24 +03:00
/**
* @type {import('next').NextConfig}
*/
2023-01-29 19:45:09 +03:00
const config = {
2022-12-11 14:27:07 +03:00
reactStrictMode: false,
2023-02-09 09:22:11 +03:00
productionBrowserSourceMaps: true,
2023-01-28 17:17:21 +03:00
compiler: {
2023-01-29 19:45:09 +03:00
styledComponents: true,
},
2022-04-27 13:56:24 +03:00
};
2023-01-29 19:45:09 +03:00
2023-05-22 11:49:38 +03:00
module.exports = withSentryConfig(
config,
{
silent: true,
org: "aykut-sarac",
project: "json-crack",
},
{
widenClientFileUpload: true,
hideSourceMaps: true,
disableLogger: true,
}
);