Skip to content

Performance: Streamline `search.bundle.js` (Search related entrypoints)

Created by: umpox

Description

Goal: Reduce code required to be downloaded before search pages can be shown.

Reason:

  • Required before we can render search results (and other pages) in the Sourcegraph application.
  • Part of the core workflow, but isn't necessarily going to be significantly affected by any UX changes here. Would be great if we could get this streamlined and enforce a smaller size before making those changes too.

A/C

  • Lower search related bundle size
  • Update our bundlesize config to enforce this and ensure we don't regress in future.