Skip to content

[JS] Make Browser+Tracing CDN bundle the main bundle #5972

Closed

Description

@Lms24

Core or SDK?

Platform/SDK

Which part? Which one?

JavaScript Browser SDK

Description

We should consider "promoting" the Browser+Tracing bundle to be the first bundle mentioned in our CDN bundle installation page. Right now, it is only mentioned as the second bundle from the top (in the "Performance Bundle" section).

Suggested Solution

Proposal:

  • In the top-most code example, show the Browser+Tracing bundle
  • Replace "Performance Bundle" with "Errors-only Bundle" section, which will show the errors-only bundle.

Pros:

  • Promotes our performance product

Cons:

  • The browser+tracing bundle has a higher bundle size (~7Kb more, minified, gzipped).

It's important to note though that this is only a purely cosmetic docs change. People who load right now the bundle.min.js (i.e. errors-only bundle) will not be affected at all.

Activity

  1. bruno-garcia commented on Dec 16, 2022

    @bruno-garcia
    Member

    This makes sense to me, and I'd also suggest adding a bundle with Replay in the mix once we GA.

    With Android for example, sentry-android brings in NDK. For customers that prefer not haver NDK support to have a smaller app, that's an option we document further. But the default experience is having the complete support.

  2. github-actions commented on Jan 7, 2023

    @github-actions
    Contributor

    This issue has gone three weeks without activity. In another week, I will close it.

    But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


    "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

  3. locked and limited conversation to collaborators on Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions