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
105105 'sentry-vite-debug-id-upload-plugin not found in sentryPlugins! Cannot modify plugin - returning default Sentry Vite plugins' ,
106106 ) ;
107107
108+ // resolving filesToDeleteAfterUpload here, because we return the original deletion plugin which awaits the promise
109+ _resolveFilesToDeleteAfterUpload ?.( undefined ) ;
110+
108111 return sentryPlugins ;
109112 }
110113
@@ -115,6 +118,9 @@ export async function makeCustomSentryVitePlugins(options?: CustomSentryVitePlug
115118 'sentry-file-deletion-plugin not found in sentryPlugins! Cannot modify plugin - returning default Sentry Vite plugins' ,
116119 ) ;
117120
121+ // resolving filesToDeleteAfterUpload here, because we return the original deletion plugin which awaits the promise
122+ _resolveFilesToDeleteAfterUpload ?.( undefined ) ;
123+
118124 return sentryPlugins ;
119125 }
120126
@@ -125,6 +131,9 @@ export async function makeCustomSentryVitePlugins(options?: CustomSentryVitePlug
125131 'sentry-release-management-plugin not found in sentryPlugins! Cannot modify plugin - returning default Sentry Vite plugins' ,
126132 ) ;
127133
134+ // resolving filesToDeleteAfterUpload here, because we return the original deletion plugin which awaits the promise
135+ _resolveFilesToDeleteAfterUpload ?.( undefined ) ;
136+
128137 return sentryPlugins ;
129138 }
130139
@@ -370,7 +379,6 @@ export async function makeCustomSentryVitePlugins(options?: CustomSentryVitePlug
370379 ] ;
371380}
372381
373-
374382/** There are 3 ways to set up source map generation (https://github.com/getsentry/sentry-j avascript/issues/13993)
375383 *
376384 * 1. User explicitly disabled source maps
You can’t perform that action at this time.
0 commit comments