Skip to content

Commit 18692a3

Browse files
committed
add comment to auth token
1 parent 11eeccf commit 18692a3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/platforms/javascript/guides/sveltekit/manual-setup.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ export default defineConfig({
147147

148148
## Step 3: Add Readable Stack Traces With Source Maps (Optional)
149149

150-
To upload source maps for clear error stack traces, create an environment variable for your auth token and add your Sentry organization, and project slug in your `vite.config.(js|ts)` file:
150+
To upload source maps for clear error stack traces, add your Sentry auth token, organization, and project slug in your `vite.config.(js|ts)` file:
151151

152-
```javascript {filename:vite.config.(js|ts)} {6-10}
152+
```javascript {filename:vite.config.(js|ts)} {6-11}
153153
import { sveltekit } from "@sveltejs/kit/vite";
154154
import { sentrySvelteKit } from "@sentry/sveltekit";
155155

@@ -159,6 +159,7 @@ export default {
159159
sourceMapsUploadOptions: {
160160
org: "___ORG_SLUG___",
161161
project: "___PROJECT_SLUG___",
162+
// store your auth token in an environment variable
162163
authToken: process.env.SENTRY_AUTH_TOKEN,
163164
},
164165
}),

0 commit comments

Comments
 (0)