diff --git a/next.config.js b/next.config.js index 2e9a4dc..df3483e 100644 --- a/next.config.js +++ b/next.config.js @@ -2,6 +2,12 @@ // or the sentry project hasn't been set up yet if (!process.env.SENTRY_DSN && !process.env.NEXT_PUBLIC_SENTRY_DSN) return +// This file sets a custom webpack configuration to use your Next.js app +// with Sentry. +// https://nextjs.org/docs/api-reference/next.config.js/introduction +// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/ +const { withSentryConfig } = require('@sentry/nextjs') + /** @type {import('next').NextConfig} */ const moduleExports = { output: 'standalone',