Skip to content

Prebundle dev toolbar entrypoint in client environment#16480

Open
matthewp wants to merge 3 commits intomainfrom
toolbar-optimize-deps
Open

Prebundle dev toolbar entrypoint in client environment#16480
matthewp wants to merge 3 commits intomainfrom
toolbar-optimize-deps

Conversation

@matthewp
Copy link
Copy Markdown
Contributor

@matthewp matthewp commented Apr 24, 2026

Changes

  • Adds astro/runtime/client/dev-toolbar/entrypoint.js to the client environment's optimizeDeps.include. That's all

Testing

  • Reproduced on a vanilla Astro project (no adapter): delete node_modules/.vite, start astro dev, navigate to /. Before: new dependencies optimized: astro/runtime/client/dev-toolbar/entrypoint.js + reload.

Docs

  • N/A, bug fix

@github-actions github-actions Bot added the pkg: astro Related to the core `astro` package (scope) label Apr 24, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 24, 2026

🦋 Changeset detected

Latest commit: f1bb43d

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@matthewp matthewp marked this pull request as ready for review April 24, 2026 16:50
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 24, 2026

Merging this PR will not alter performance

✅ 18 untouched benchmarks


Comparing toolbar-optimize-deps (f1bb43d) with main (1058428)

Open in CodSpeed

@matthewp matthewp marked this pull request as draft April 24, 2026 17:07
@matthewp matthewp marked this pull request as ready for review April 24, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant