tldraw/next.config.js
Steve Ruiz fd85e07728 Revert "Manual sentry integration?"
This reverts commit 12349b7129.
2021-06-19 17:12:48 +01:00

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
)