build: 🏗️ Add docker image and deployment features
This commit is contained in:
@@ -7,7 +7,9 @@
|
||||
const { withSentryConfig } = require('@sentry/nextjs')
|
||||
|
||||
const moduleExports = {
|
||||
// Your existing module.exports
|
||||
experimental: {
|
||||
outputStandalone: true,
|
||||
},
|
||||
}
|
||||
|
||||
const sentryWebpackPluginOptions = {
|
||||
@@ -22,6 +24,6 @@ const sentryWebpackPluginOptions = {
|
||||
// https://github.com/getsentry/sentry-webpack-plugin#options.
|
||||
}
|
||||
|
||||
// Make sure adding Sentry options is the last code to run before exporting, to
|
||||
// ensure that your source maps include changes from all other Webpack plugins
|
||||
module.exports = withSentryConfig(moduleExports, sentryWebpackPluginOptions)
|
||||
module.exports = process.env.SENTRY_AUTH_TOKEN
|
||||
? withSentryConfig(moduleExports, sentryWebpackPluginOptions)
|
||||
: moduleExports
|
||||
|
||||
Reference in New Issue
Block a user