We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb2d726 commit 075cc6eCopy full SHA for 075cc6e
packages/astro/src/integration/index.ts
@@ -27,9 +27,9 @@ export const sentryAstro = (options: SentryOptions = {}): AstroIntegration => {
27
const uploadOptions = options.sourceMapsUploadOptions || {};
28
29
const shouldUploadSourcemaps = uploadOptions?.enabled ?? true;
30
- const authToken = uploadOptions.authToken || env.SENTRY_AUTH_TOKEN;
31
32
- if (shouldUploadSourcemaps && authToken) {
+ // We don't need to check for AUTH_TOKEN here, because the plugin will pick it up from the env
+ if (shouldUploadSourcemaps) {
33
updateConfig({
34
vite: {
35
build: {
0 commit comments