Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): Add deleteFilesAfterUpload option #244

Merged
merged 1 commit into from
May 15, 2023
Merged

Conversation

lforst
Copy link
Member

@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!

*/
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
Member 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
16 checks passed
@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
2 participants