Initial commit
This commit is contained in:
31
apps/web-next/next.config.mjs
Normal file
31
apps/web-next/next.config.mjs
Normal file
@@ -0,0 +1,31 @@
|
||||
import { withSentryConfig } from "@sentry/nextjs";
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
transpilePackages: [
|
||||
"@repo/auth",
|
||||
"@repo/blog",
|
||||
"@repo/core-analytics",
|
||||
"@repo/core-api",
|
||||
"@repo/core-audit",
|
||||
"@repo/core-cms",
|
||||
"@repo/core-consent",
|
||||
"@repo/core-dsr",
|
||||
"@repo/core-shared",
|
||||
"@repo/core-ui",
|
||||
"@repo/marketing-pages",
|
||||
"@repo/media",
|
||||
"@repo/navigation",
|
||||
"@repo/core-trpc",
|
||||
],
|
||||
};
|
||||
|
||||
export default withSentryConfig(nextConfig, {
|
||||
// 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,
|
||||
});
|
||||
Reference in New Issue
Block a user