The app is now wired to GlitchTip with the Sentry SDKs
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { NextConfig } from 'next';
|
||||
import { withSentryConfig } from '@sentry/nextjs';
|
||||
import createNextIntlPlugin from 'next-intl/plugin';
|
||||
|
||||
const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts');
|
||||
@@ -35,9 +36,15 @@ const nextConfig: NextConfig = {
|
||||
NEXT_PUBLIC_APP_NAME: process.env.NEXT_PUBLIC_APP_NAME,
|
||||
NEXT_PUBLIC_APP_URL: process.env.NEXT_PUBLIC_APP_URL,
|
||||
NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL,
|
||||
NEXT_PUBLIC_SENTRY_DSN: process.env.NEXT_PUBLIC_SENTRY_DSN,
|
||||
NEXT_PUBLIC_SENTRY_ENVIRONMENT: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT,
|
||||
},
|
||||
output: 'standalone',
|
||||
compress: true,
|
||||
};
|
||||
|
||||
export default withNextIntl(nextConfig);
|
||||
export default withSentryConfig(withNextIntl(nextConfig), {
|
||||
silent: true,
|
||||
sourcemaps: { disable: true },
|
||||
disableLogger: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user