File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
packages/sveltekit/src/vite Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,9 @@ export async function makeCustomSentryVitePlugins(options?: CustomSentryVitePlug
105
105
'sentry-vite-debug-id-upload-plugin not found in sentryPlugins! Cannot modify plugin - returning default Sentry Vite plugins' ,
106
106
) ;
107
107
108
+ // resolving filesToDeleteAfterUpload here, because we return the original deletion plugin which awaits the promise
109
+ _resolveFilesToDeleteAfterUpload ?.( undefined ) ;
110
+
108
111
return sentryPlugins ;
109
112
}
110
113
@@ -115,6 +118,9 @@ export async function makeCustomSentryVitePlugins(options?: CustomSentryVitePlug
115
118
'sentry-file-deletion-plugin not found in sentryPlugins! Cannot modify plugin - returning default Sentry Vite plugins' ,
116
119
) ;
117
120
121
+ // resolving filesToDeleteAfterUpload here, because we return the original deletion plugin which awaits the promise
122
+ _resolveFilesToDeleteAfterUpload ?.( undefined ) ;
123
+
118
124
return sentryPlugins ;
119
125
}
120
126
@@ -125,6 +131,9 @@ export async function makeCustomSentryVitePlugins(options?: CustomSentryVitePlug
125
131
'sentry-release-management-plugin not found in sentryPlugins! Cannot modify plugin - returning default Sentry Vite plugins' ,
126
132
) ;
127
133
134
+ // resolving filesToDeleteAfterUpload here, because we return the original deletion plugin which awaits the promise
135
+ _resolveFilesToDeleteAfterUpload ?.( undefined ) ;
136
+
128
137
return sentryPlugins ;
129
138
}
130
139
@@ -370,7 +379,6 @@ export async function makeCustomSentryVitePlugins(options?: CustomSentryVitePlug
370
379
] ;
371
380
}
372
381
373
-
374
382
/** There are 3 ways to set up source map generation (https://github.com/getsentry/sentry-j avascript/issues/13993)
375
383
*
376
384
* 1. User explicitly disabled source maps
You can’t perform that action at this time.
0 commit comments