You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
This adds a new option, `deleteSourceMaps` (or `SENTRY_DELETE_SOURCEMAPS` as an env variable), which will delete sourcemaps after uploading them.
Really this should be done at the `sentry-cli` level (see getsentry/sentry-cli#1318), but in the meantime, we can do it manually.
Fixes#40
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,7 @@ For more information about the parameters below, please see the [Sentry release
122
122
|`skipSetCommits`| - | If true, disable commit tracking. |`false`|
123
123
|`skipSourceMaps`| - | If true, disable uploading source maps to Sentry. |`false`|
124
124
|`deployPreviews`| - | If false, skip running the build plugin on preview deploys. |`true`|
125
+
|`deleteSourceMaps`| SENTRY_DELETE_SOURCEMAPS | If true, delete source maps after uploading them to Sentry. May cause browser console errors if not used alongside your build tool's equivalent of webpack's [`hidden-source-map` option](https://webpack.js.org/configuration/devtool/). |`false`|
125
126
126
127
## `@sentry/netlify-build-plugin` vs. `@netlify/sentry`
0 commit comments