19 lines
484 B
JavaScript
19 lines
484 B
JavaScript
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
const { withSentryConfig } = require('@sentry/nextjs')
|
|
|
|
const moduleExports = {
|
|
experimental: {
|
|
outputStandalone: true,
|
|
},
|
|
}
|
|
|
|
const sentryWebpackPluginOptions = {
|
|
silent: true,
|
|
// For all available options, see:
|
|
// https://github.com/getsentry/sentry-webpack-plugin#options.
|
|
}
|
|
|
|
module.exports = process.env.SENTRY_AUTH_TOKEN
|
|
? withSentryConfig(moduleExports, sentryWebpackPluginOptions)
|
|
: moduleExports
|