Skip to content

Commit 240036d

Browse files
authored
ref(onboarding): Add source maps upload section for tanstackstart-react (#104316)
Add a source map upload section to the tanstack start onboarding. Also move tunneling instructions into a separate section.
1 parent 3bbbccd commit 240036d

File tree

1 file changed

+23
-0
lines changed
  • static/app/gettingStartedDocs/javascript-tanstackstart-react

1 file changed

+23
-0
lines changed

static/app/gettingStartedDocs/javascript-tanstackstart-react/onboarding.tsx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,28 @@ const route = createRoute({
285285
},
286286
],
287287
},
288+
],
289+
},
290+
{
291+
title: t('Upload Source Maps (Optional)'),
292+
content: [
293+
{
294+
type: 'text',
295+
text: tct(
296+
"The stack traces in your Sentry errors probably won't look like your actual code. To fix this, upload your source maps to Sentry. Since TanStack Start uses Vite, you can use the Sentry Vite plugin to automatically upload source maps. Follow the [link:Vite source maps guide] to set this up.",
297+
{
298+
link: (
299+
<ExternalLink href="https://docs.sentry.io/platforms/javascript/sourcemaps/uploading/vite/" />
300+
),
301+
}
302+
),
303+
},
304+
],
305+
collapsible: true,
306+
},
307+
{
308+
title: t('Avoid Ad Blockers With Tunneling (Optional)'),
309+
content: [
288310
{
289311
type: 'text',
290312
text: tct(
@@ -313,6 +335,7 @@ const route = createRoute({
313335
],
314336
},
315337
],
338+
collapsible: true,
316339
},
317340
],
318341
verify: params => [

0 commit comments

Comments
 (0)