Skip to content

Commit

Permalink
Also allow staging
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Jun 25, 2024
1 parent 11225d5 commit ad9f78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/webpack/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ if (process.env.RAILS_ENV === "test") {

// only enable sentry in production
// as it slows down the build process
if (process.env.NODE_ENV === "production") {
if (process.env.NODE_ENV === "production" || process.env.NODE_ENV === "staging") {
config.devtool = "source-map"; // Source map generation must be turned on for sentry to work
config. plugins= [
// Put the Sentry Webpack plugin after all other plugins
Expand Down

0 comments on commit ad9f78e

Please sign in to comment.