Skip to content

Commit 3d12225

Browse files
mydeaAbhiPrasad
andauthored
Apply suggestion from @AbhiPrasad
Co-authored-by: Abhijeet Prasad <[email protected]>
1 parent 14ab096 commit 3d12225

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

packages/sveltekit/src/vite/sourceMaps.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -370,21 +370,6 @@ export async function makeCustomSentryVitePlugins(options?: CustomSentryVitePlug
370370
];
371371
}
372372

373-
/** There are 3 ways to set up source map generation (https://github.com/getsentry/sentry-javascript/issues/13993)
374-
*
375-
* 1. User explicitly disabled source maps
376-
* - keep this setting (emit a warning that errors won't be unminified in Sentry)
377-
* - We won't upload anything
378-
*
379-
* 2. Users enabled source map generation (true, 'hidden', 'inline').
380-
* - keep this setting (don't do anything - like deletion - besides uploading)
381-
*
382-
* 3. Users didn't set source maps generation
383-
* - we enable 'hidden' source maps generation
384-
* - configure `filesToDeleteAfterUpload` to delete all .map files (we emit a log about this)
385-
*
386-
* --> only exported for testing
387-
*/
388373

389374
/** There are 3 ways to set up source map generation (https://github.com/getsentry/sentry-j avascript/issues/13993)
390375
*

0 commit comments

Comments
 (0)