Skip to content

Commit

Permalink
return accidentally deleted code to the next config file
Browse files Browse the repository at this point in the history
  • Loading branch information
alishaevn committed Aug 22, 2023
1 parent 399e51c commit d8aef08
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit d8aef08

Please sign in to comment.