27 lines
669 B
JavaScript
27 lines
669 B
JavaScript
import { withSentryConfig } from "@sentry/nextjs";
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
transpilePackages: [
|
|
"@repo/auth",
|
|
"@repo/blog",
|
|
"@repo/core-api",
|
|
"@repo/core-audit",
|
|
"@repo/core-cms",
|
|
"@repo/core-shared",
|
|
"@repo/marketing-pages",
|
|
"@repo/media",
|
|
"@repo/navigation",
|
|
],
|
|
};
|
|
|
|
export default withSentryConfig(nextConfig, {
|
|
// R52 — token is build-time only; CI sets SENTRY_AUTH_TOKEN
|
|
silent: process.env.CI !== "true",
|
|
authToken: process.env.SENTRY_AUTH_TOKEN,
|
|
org: process.env.SENTRY_ORG,
|
|
project: process.env.SENTRY_PROJECT_WEB_NEXT,
|
|
hideSourceMaps: true,
|
|
disableLogger: true,
|
|
});
|