Skip to content

Commit

Permalink
fix: commented sentry for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ArushKapoorJuspay committed Sep 13, 2024
1 parent 477effc commit 8d8b610
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,25 +110,25 @@ module.exports = (publicPath = "auto") => {
);
}

if (
process.env.SENTRY_AUTH_TOKEN &&
process.env.IS_SENTRY_ENABLED === "true"
) {
plugins.push(
sentryWebpackPlugin({
org: "sentry",
project: "hyperswitch-react-sdk",
authToken: process.env.SENTRY_AUTH_TOKEN,
url: process.env.SENTRY_URL,
release: {
name: "0.2",
uploadLegacySourcemaps: {
paths: ["dist"],
},
},
})
);
}
// if (
// process.env.SENTRY_AUTH_TOKEN &&
// process.env.IS_SENTRY_ENABLED === "true"
// ) {
// plugins.push(
// sentryWebpackPlugin({
// org: "sentry",
// project: "hyperswitch-react-sdk",
// authToken: process.env.SENTRY_AUTH_TOKEN,
// url: process.env.SENTRY_URL,
// release: {
// name: "0.2",
// uploadLegacySourcemaps: {
// paths: ["dist"],
// },
// },
// })
// );
// }

return {
mode: sdkEnv === "local" ? "development" : "production",
Expand Down

0 comments on commit 8d8b610

Please sign in to comment.