2
0

build: 🏗️ Add docker image and deployment features

This commit is contained in:
Baptiste Arnaud
2022-03-12 07:53:37 +01:00
parent 1dbbc9a251
commit e886d1b079
30 changed files with 2020 additions and 2136 deletions

View File

@ -2,7 +2,9 @@
const { withSentryConfig } = require('@sentry/nextjs')
const moduleExports = {
// Your existing module.exports
experimental: {
outputStandalone: true,
},
}
const sentryWebpackPluginOptions = {
@ -11,4 +13,6 @@ const sentryWebpackPluginOptions = {
// https://github.com/getsentry/sentry-webpack-plugin#options.
}
module.exports = withSentryConfig(moduleExports, sentryWebpackPluginOptions)
module.exports = process.env.SENTRY_AUTH_TOKEN
? withSentryConfig(moduleExports, sentryWebpackPluginOptions)
: moduleExports