tldraw/next.config.js

21 lines
422 B
JavaScript
Raw Normal View History

2021-06-11 12:37:09 +00:00
const withPWA = require('next-pwa')
const { withSentryConfig } = require('@sentry/nextjs')
2021-06-11 12:37:09 +00:00
const SentryWebpackPluginOptions = {
silent: process.env.NODE_ENV === 'development',
}
2021-06-19 09:00:44 +00:00
module.exports = withSentryConfig(
withPWA({
future: {
webpack5: true,
},
pwa: {
dest: 'public',
scope: '/',
disable: process.env.NODE_ENV === 'development',
},
}),
SentryWebpackPluginOptions
)