re-enable sentry
Some checks failed
deploy / deploy (push) Failing after 19s

This commit is contained in:
Lee 2023-11-13 03:41:29 +00:00
parent b42ba1afdd
commit 7a31e158ea

@ -1,4 +1,5 @@
const nextBuildId = require("next-build-id"); const nextBuildId = require("next-build-id");
const { withSentryConfig } = require("@sentry/nextjs");
const withBundleAnalyzer = require("@next/bundle-analyzer")({ const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: false, enabled: false,
}); });
@ -80,39 +81,35 @@ const nextConfig = {
module.exports = withBundleAnalyzer(nextConfig); module.exports = withBundleAnalyzer(nextConfig);
// // Injected content via Sentry wizard below module.exports = withSentryConfig(
module.exports,
{
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options
// const { withSentryConfig } = require("@sentry/nextjs"); // Suppresses source map uploading logs during build
silent: true,
org: "sentry",
project: "scoresaber-reloaded",
url: "https://sentry.fascinated.cc/",
},
{
// For all available options, see:
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
// module.exports = withSentryConfig( // Upload a larger set of source maps for prettier stack traces (increases build time)
// module.exports, widenClientFileUpload: false,
// {
// // For all available options, see:
// // https://github.com/getsentry/sentry-webpack-plugin#options
// // Suppresses source map uploading logs during build // Transpiles SDK to be compatible with IE11 (increases bundle size)
// silent: true, transpileClientSDK: false,
// org: "sentry",
// project: "scoresaber-reloaded",
// url: "https://sentry.fascinated.cc/",
// },
// {
// // For all available options, see:
// // https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
// // Upload a larger set of source maps for prettier stack traces (increases build time) // Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
// widenClientFileUpload: false, tunnelRoute: "/monitoring",
// // Transpiles SDK to be compatible with IE11 (increases bundle size) // Hides source maps from generated client bundles
// transpileClientSDK: false, hideSourceMaps: true,
// // Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load) // Automatically tree-shake Sentry logger statements to reduce bundle size
// tunnelRoute: "/monitoring", disableLogger: true,
},
// // Hides source maps from generated client bundles );
// hideSourceMaps: true,
// // Automatically tree-shake Sentry logger statements to reduce bundle size
// disableLogger: true,
// },
// );