Skip to content

Commit 6b0ae01

Browse files
create and use includes for quick start prerequisites and Next.js Turbopack warning (#12749)
1 parent e44d5fb commit 6b0ae01

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

docs/platforms/javascript/common/index.mdx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@ Check out the other SDKs we support in the left-hand dropdown.
1414

1515
<PlatformSection supported={["javascript", "javascript.angular", "javascript.nextjs", "javascript.remix", "javascript.sveltekit", "javascript.bun", "javascript.ember", "javascript.angular", "javascript.deno","javascript.nuxt", "javascript.react", "javascript.solid", "javascript.svelte", "javascript.vue"]}>
1616

17-
## Prerequisites
18-
19-
You need:
20-
21-
- A Sentry [account](https://sentry.io/signup/) and [project](/product/projects/)
22-
- Your application up and running
17+
<PlatformContent includePath="getting-started-prerequisites" />
2318

2419
</PlatformSection>
2520

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<Expandable level="warning" title="Are you developing with Turbopack?">
2+
3+
The Sentry SDK doesn't fully support `next dev --turbo` as Turbopack is still under development. This means that the Sentry SDK will not capture any data from your frontend. Other than that, your dev server should be fully operational.
4+
5+
Check the latest information on [Sentry's support for Turbopack on GitHub](https://github.com/getsentry/sentry-javascript/issues/8105).
6+
7+
</Expandable>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## Prerequisites
2+
3+
You need:
4+
5+
- A Sentry [account](https://sentry.io/signup/) and [project](/product/projects/)
6+
- Your application up and running

platform-includes/getting-started-verify/javascript.nextjs.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
## Step 2: Verify Your Setup
22

3-
<Expandable level="warning" title="Are you developing with Turbopack?">
4-
5-
The Sentry SDK doesn't fully support `next dev --turbo` as Turbopack is still under development. This means that the Sentry SDK will not capture any data from your frontend. Other than that, your dev server should be fully operational.
6-
7-
Check the latest information on [Sentry's support for Turbopack on GitHub](https://github.com/getsentry/sentry-javascript/issues/8105).
8-
9-
</Expandable>
3+
<Include name="nextjs-turbopack-warning-expandable.mdx" />
104

115
If you haven't tested your Sentry configuration yet, let's do it now. You can confirm that Sentry is working properly and sending data to your Sentry project by using the example page and route created by the installation wizard:
126

0 commit comments

Comments
 (0)