withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Merge branch 'main' into ocavue/eslint-ts-ref
ocavue-forks:ocavue/eslint-ts-ref
1 hour ago
Merge branch 'main' into errors-fix
errors-fix
1 hour ago
Merge branch 'main' into errors-fix
errors-fix
2 hours ago
test: parallel testing (#16382)
main
2 hours ago
fix(core): tear down the compiler
chore/teardown-compiler
4 hours ago
chore: merge main into next (#16637)
next
4 hours ago
fix(build): strip client:only imports from prerender Rollup graph The Astro compiler emits `import Foo from './Foo'` for client:only components but passes `null` to $$renderComponent — the import value is dead code in the prerender environment. However, Rollup still resolves the import and traverses the component's dependency tree (e.g. React), inflating prerender build time. This patch strips client:only component imports from compiled .astro output when building for prerender/SSR, using es-module-lexer for structural parsing and MagicString for sourcemap-safe removal. Imports are only stripped when the component specifier does not also appear in hydratedComponents or serverComponents (handles dual-use). Component metadata is preserved in meta.astro.clientOnlyComponents for plugin-analyzer to feed into the client build, so client-side hydration is unaffected. Measured on a 906-page site with 2,055 client:only React islands: prerender build drops from ~4.3s to ~2.2s (49% reduction). Also fixes a misleading comment in compile.ts: importsNotUsedAsValues only removes type-only imports, not value imports.
kimjune01:fix/strip-client-only-prerender-imports
10 hours ago
fix(docs): missing version and verb tense (#16632) Co-authored-by: matthewp <361671+matthewp@users.noreply.github.com> Co-authored-by: delucis <357379+delucis@users.noreply.github.com> Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
main
19 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
refactor: use TypeScript project service in ESLint
#16623
1 hour ago
b162a04
ocavue-forks:ocavue/eslint-ts-ref
CodSpeed Performance Gauge
0%
Overhaul errors for consistency and correctness
#16593
1 hour ago
d3228f5
errors-fix
CodSpeed Performance Gauge
-24%
fix(core): tear down the compiler
#16638
4 hours ago
9b29370
chore/teardown-compiler
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs