You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/bundler-plugin-core/src/build-plugin-manager.ts
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -728,22 +728,26 @@ function canUploadSourceMaps(
728
728
"Source map upload was disabled. Will not upload sourcemaps using debug ID process."
729
729
);
730
730
returnfalse;
731
-
}elseif(isDevMode){
731
+
}
732
+
if(isDevMode){
732
733
logger.debug("Running in development mode. Will not upload sourcemaps.");
733
734
returnfalse;
734
-
}elseif(!options.authToken){
735
+
}
736
+
if(!options.authToken){
735
737
logger.warn(
736
738
"No auth token provided. Will not upload source maps. Please set the `authToken` option. You can find information on how to generate a Sentry auth token here: https://docs.sentry.io/api/auth/"+
0 commit comments