Skip to content

Commit

Permalink
Revert "Chore: add CI step to create and upload sourcemaps to unminif…
Browse files Browse the repository at this point in the history
…y RUM errors in Datadog (#2509)"

This reverts commit 68f234e.
  • Loading branch information
heatlikeheatwave committed Jul 16, 2024
1 parent beff95f commit eda359a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 61 deletions.
57 changes: 0 additions & 57 deletions .github/workflows/upload-sourcemaps-to-datadog.yml

This file was deleted.

4 changes: 0 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ module.exports = withHashicorp({
],
webpack(config) {
config.plugins.push(HashiConfigPlugin())
if (process.env.GENERATE_SOURCEMAPS === 'true') {
// only generate source maps in GHA .github/workflows/upload-sourcemaps-to-datadog.yml
config.devtool = 'source-map'
}
return config
},
async headers() {
Expand Down

0 comments on commit eda359a

Please sign in to comment.