Update env stuff because I don't think it was all working right.

This commit is contained in:
2026-03-21 16:07:50 -05:00
parent 0ecf6238de
commit ee99ab11c9
6 changed files with 38 additions and 66 deletions

View File

@@ -1,11 +1,10 @@
import { env } from '@/env.js';
import { withSentryConfig } from '@sentry/nextjs';
import { withPlausibleProxy } from 'next-plausible';
import { env } from '@/env';
/** @type {import("next").NextConfig} */
const config = withPlausibleProxy({
customDomain: env.NEXT_PUBLIC_PLAUSIBLE_URL,
customDomain: process.env.NEXT_PUBLIC_PLAUSIBLE_URL,
})({
output: 'standalone',
images: {
@@ -35,7 +34,7 @@ const sentryConfig = {
sentryUrl: env.NEXT_PUBLIC_SENTRY_URL,
authToken: env.SENTRY_AUTH_TOKEN,
// Only print logs for uploading source maps in CI
silent: env.CI,
silent: !env.CI,
// 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)