getsentry / sentry-netlify-build-plugin

The Sentry Netlify build plugin automatically notifies Sentry of new releases being deployed to your site.
Apache License 2.0
46 stars 17 forks source link

feat(sourcemaps): Add `deleteSourceMaps` option #76

Closed lobsterkatie closed 1 year ago

lobsterkatie commented 1 year ago

h/t to @carchrae for the initial work on this

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 https://github.com/getsentry/sentry-cli/issues/1318), but in the meantime, we can do it manually.

Fixes https://github.com/getsentry/sentry-netlify-build-plugin/issues/40

Ref: WOR-2638

lobsterkatie commented 1 year ago

i'm curious why you have a yarn.lock file in here; was that intentional?

Indeed it was. It's there because of the added rimraf dependency.

uhlenbrock commented 1 year ago

Is a new release necessary to use this via UI install in Netlify?

nathan-knight commented 1 year ago

When will a new version be published with this change? @lobsterkatie

nathan-knight commented 1 year ago

Just checking in again, is there an ETA for publishing this? @lobsterkatie @scttcper