Skip to content

Commit

Permalink
Merge pull request #3715 from mozilla/sourcemap
Browse files Browse the repository at this point in the history
sourcemap for next
  • Loading branch information
mansaj authored Nov 9, 2023
2 parents 0478728 + 0903fb1 commit 7e8d4d4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,10 @@ const sentryWebpackPluginOptions = {
// https://github.com/getsentry/sentry-webpack-plugin#options.
};

export default withSentryConfig(nextConfig, sentryWebpackPluginOptions)
const sentryOptions = {
// Upload additional client files (increases upload size)
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#widen-the-upload-scope
widenClientFileUpload: true,
};

export default withSentryConfig(nextConfig, sentryWebpackPluginOptions, sentryOptions)

0 comments on commit 7e8d4d4

Please sign in to comment.