fd85e07728
This reverts commit 12349b7129
.
20 lines
422 B
JavaScript
20 lines
422 B
JavaScript
const withPWA = require('next-pwa')
|
|
const { withSentryConfig } = require('@sentry/nextjs')
|
|
|
|
const SentryWebpackPluginOptions = {
|
|
silent: process.env.NODE_ENV === 'development',
|
|
}
|
|
|
|
module.exports = withSentryConfig(
|
|
withPWA({
|
|
future: {
|
|
webpack5: true,
|
|
},
|
|
pwa: {
|
|
dest: 'public',
|
|
scope: '/',
|
|
disable: process.env.NODE_ENV === 'development',
|
|
},
|
|
}),
|
|
SentryWebpackPluginOptions
|
|
)
|