Skip to content

Commit

Permalink
[Hexlet#529] comment sentry config
Browse files Browse the repository at this point in the history
  • Loading branch information
jprestor committed Nov 3, 2022
1 parent cc60f4d commit c98f66b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ yarn-error.log*
.env*.local

# Sentry
.sentryclirc
.sentryclirc
.vercel
36 changes: 23 additions & 13 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,28 @@ const sentryWebpackPluginOptions = {
silent: true,
};

module.exports = withSentryConfig(
{
i18n,
trailingSlash: true,
experimental: {
amp: {
skipValidation: true,
},
},
sentry: {
hideSourceMaps: true,
// module.exports = withSentryConfig(
// {
// i18n,
// trailingSlash: true,
// experimental: {
// amp: {
// skipValidation: true,
// },
// },
// sentry: {
// hideSourceMaps: true,
// },
// },
// sentryWebpackPluginOptions,
// );

module.exports = {
i18n,
trailingSlash: true,
experimental: {
amp: {
skipValidation: true,
},
},
sentryWebpackPluginOptions,
);
};

0 comments on commit c98f66b

Please sign in to comment.