Skip to content

Conversation

@zwhitchcox
Copy link
Contributor

sentry already uses a glob, and if you glob before generating the source maps, they will not be deleted, because they did not exist at the time of the glob

Test Plan

We tested on our server

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thank you for this. Can you remove the import?

sentry already uses a glob, and if you glob before generating the source maps, they will not be deleted, because they did not exist at the time of the glob
@zwhitchcox
Copy link
Contributor Author

Oops, sorry, didn't catch that!

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fabulous. Thanks!

@kentcdodds kentcdodds merged commit b0428fb into epicweb-dev:main Dec 18, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants