Skip to content

Conversation

@lforst
Copy link

@lforst lforst commented May 14, 2023

Fixes #147

@lforst lforst requested review from AbhiPrasad and Lms24 May 14, 2023 13:15
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

Nice!

* @hidden Not yet implemented.
*/
deleteAfterUpload?: string | string[];
deleteFilesAfterUpload?: string | string[];
Copy link
Member

Choose a reason for hiding this comment

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

The default is undefined at the moment, right? wdyt about defaulting to the source maps assets glob path(s) instead?

Copy link
Author

Choose a reason for hiding this comment

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

That's a little too much magic for me on this level of abstraction. We could default to something like that for Next.js and Sveltekit. What we can consider is just adding this to the copy paste snippet in the docs.

@lforst lforst merged commit fa023dc into main May 15, 2023
@lforst lforst deleted the lforst-delete-option branch May 15, 2023 08:18
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.

Option to automatically delete source maps after upload

3 participants