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
@@ -180,35 +183,31 @@ export function sentryUnpluginFactory({
180
183
);
181
184
}
182
185
183
-
if(options.sourcemaps){
184
-
if(!options.authToken){
185
-
logger.warn(
186
-
"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/"
187
-
);
188
-
}elseif(!options.org){
189
-
logger.warn(
190
-
"No org provided. Will not upload source maps. Please set the `org` option to your Sentry organization slug."
191
-
);
192
-
}elseif(!options.project){
193
-
logger.warn(
194
-
"No project provided. Will not upload source maps. Please set the `project` option to your Sentry project slug."
195
-
);
196
-
}elseif(!options.sourcemaps.assets){
197
-
logger.warn(
198
-
"No assets defined. Will not upload source maps. Please provide set the `assets` option to your build-output folder."
"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/"
189
+
);
190
+
}elseif(!options.org){
191
+
logger.warn(
192
+
"No org provided. Will not upload source maps. Please set the `org` option to your Sentry organization slug."
193
+
);
194
+
}elseif(!options.project){
195
+
logger.warn(
196
+
"No project provided. Will not upload source maps. Please set the `project` option to your Sentry project slug."
Copy file name to clipboardExpand all lines: packages/dev-utils/src/generate-documentation-table.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ errorHandler: (err) => {
79
79
name: "assets",
80
80
type: "string | string[]",
81
81
fullDescription:
82
-
"A glob or an array of globs that specifies the build artifacts that should be uploaded to Sentry.\n\nThe globbing patterns follow the implementation of the `glob` package. (https://www.npmjs.com/package/glob)\n\nUse the `debug` option to print information about which files end up being uploaded.",
82
+
"A glob or an array of globs that specifies the build artifacts that should be uploaded to Sentry.\n\nIf this option is not specified, the plugin will try to upload all JavaScript files and source map files that are created during build.\n\nThe globbing patterns follow the implementation of the `glob` package. (https://www.npmjs.com/package/glob)\n\nUse the `debug` option to print information about which files end up being uploaded.",
0 commit comments