Skip to content

Commit 9ce8ec8

Browse files
committed
add filesToDeleteAfterUpload
1 parent 48f461f commit 9ce8ec8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/core/src/build-time-plugins/buildTimeOptionsBase.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,14 @@ interface SourceMapsOptions {
211211
* @default []
212212
*/
213213
ignore?: string | string[];
214+
215+
/**
216+
* A glob or an array of globs that specifies the build artifacts that should be deleted after the artifact
217+
* upload to Sentry has been completed.
218+
*
219+
* The globbing patterns must follow the implementation of the `glob` package: https://www.npmjs.com/package/glob#glob-primer
220+
*/
221+
filesToDeleteAfterUpload?: string | Array<string>;
214222
}
215223

216224
interface ReleaseOptions {

0 commit comments

Comments
 (0)