Skip to content

Conversation

@logaretm
Copy link
Collaborator

What

A PR to go in tandem with getsentry/sentry-javascript#18359 once it gets merged and released.

It documents the new tree-shaking options now abstracted away into webpack.treeshake namespace. It has a few differences to the existing tree-shaking flags under the hood:

  • All options are optimized to be set to true to take effect, unlike the flags where some had to be set to true and some had to be set to false.
  • Now exposed as an SDK webpack.treeshake build options rather than needing the user to be aware of the webpack define plugin API.

Marking it as a draft to avoid merging it before the PR goes live.

@linear
Copy link

linear bot commented Dec 11, 2025

@vercel
Copy link

vercel bot commented Dec 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sentry-docs Ready Ready Preview Comment Dec 11, 2025 5:27pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
develop-docs Ignored Ignored Dec 11, 2025 5:27pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants