This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
Frontend/next.config.mjs

23 lines
616 B
JavaScript
Raw Permalink Normal View History

2024-04-26 21:07:02 +00:00
import {withSentryConfig} from "@sentry/nextjs";
2024-04-23 00:42:30 +00:00
/** @type {import('next').NextConfig} */
2024-04-23 02:26:08 +00:00
const nextConfig = {
2024-04-26 21:32:43 +00:00
output: "standalone",
2024-04-23 02:26:08 +00:00
};
2024-04-23 00:42:30 +00:00
2024-04-26 21:07:02 +00:00
export default withSentryConfig(nextConfig, {
2024-04-26 21:32:43 +00:00
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options
2024-04-26 21:07:02 +00:00
2024-04-26 21:32:43 +00:00
silent: true,
org: "paste",
project: "frontend",
url: "https://glitchtip.fascinated.cc/",
2024-04-26 21:07:02 +00:00
}, {
2024-04-26 21:32:43 +00:00
// For all available options, see:
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
2024-04-26 21:07:02 +00:00
2024-04-26 21:32:43 +00:00
widenClientFileUpload: true,
tunnelRoute: "/monitoring",
hideSourceMaps: true,
disableLogger: true,
2024-04-26 21:07:02 +00:00
});