2
0
Files
bot/apps/builder/next.config.js
2022-03-12 08:03:18 +01:00

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