Skip to content

Conversation

@lobsterkatie
Copy link
Member

@lobsterkatie lobsterkatie commented Jul 27, 2022

In getsentry/sentry-javascript#5472, a transpileClientSDK option was added to the nextjs SDK to force SDK code to be transpiled along with other app code, primarily for the use of folks wanting to use the SDK in older browsers without support for ES6 or ES6+ features like object spread. This documents that option by:

  • Adding a section to the manual setup page (which is where other build-time options live)
  • Adding a new 'Build Options' page redirecting people to the relevant section of of the manual setup page, for greater discoverability
  • Adding a nextjs-specific include to a new legacy browser support section on the Troubleshooting page. (A generic include has also been added for the non-nextjs JS docs, detailing how to do manually what the added option causes the nextjs SDK to do automatically.)

@vercel
Copy link

vercel bot commented Jul 27, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
sentry-docs ✅ Ready (Inspect) Visit Preview Jul 28, 2022 at 1:59PM (UTC)

Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technical stuff ✅

@lobsterkatie lobsterkatie force-pushed the kmclb-add-nextjs-transpileClientSDK-option branch 2 times, most recently from 26855e3 to 7d3cb25 Compare July 27, 2022 20:36
Copy link
Contributor

@imatwawana imatwawana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a comma and posed a structural question, but otherwise LGTM!

Co-authored-by: Isabel <[email protected]>
@lobsterkatie lobsterkatie enabled auto-merge (squash) July 28, 2022 13:42
@lobsterkatie lobsterkatie merged commit 9f89eae into master Jul 28, 2022
@lobsterkatie lobsterkatie deleted the kmclb-add-nextjs-transpileClientSDK-option branch July 28, 2022 13:45
@github-actions github-actions bot locked and limited conversation to collaborators Aug 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants