build: 🏗️ Add Sentry to builder
This commit is contained in:
14
apps/builder/next.config.js
Normal file
14
apps/builder/next.config.js
Normal file
@ -0,0 +1,14 @@
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const { withSentryConfig } = require('@sentry/nextjs')
|
||||
|
||||
const moduleExports = {
|
||||
// Your existing module.exports
|
||||
}
|
||||
|
||||
const sentryWebpackPluginOptions = {
|
||||
silent: true,
|
||||
// For all available options, see:
|
||||
// https://github.com/getsentry/sentry-webpack-plugin#options.
|
||||
}
|
||||
|
||||
module.exports = withSentryConfig(moduleExports, sentryWebpackPluginOptions)
|
Reference in New Issue
Block a user