Build And Rendering Pipeline

Astro 7 makes the same high-level build pipeline faster by replacing slower internals.

flowchart TD
    src["Project source"] --> vite["Vite 8"]
    vite --> rolldown["Rolldown bundling"]
    vite --> oxc["Oxc transforms"]
    src --> compiler["Rust .astro compiler"]
    src --> markdown["Sätteri Markdown and MDX"]
    rolldown --> bundled["Bundled render code"]
    compiler --> bundled
    markdown --> bundled
    bundled --> queued["Queued rendering"]
    queued --> output["HTML, assets, SSR server output"]

What Changed

LayerAstro 7 ChangeWhy It Matters
ViteUpgraded to Vite 8Uses Rolldown/Oxc-based tooling and changes some advanced Vite behavior
.astro compilerRust compiler is default and only compilerFaster, stricter, no silent HTML correction
Markdown/MDXSätteri is defaultFaster for Markdown-heavy sites, plugin API differs from unified
Renderingqueued rendering is stable/defaultFaster rendering loop and lower memory pressure in some cases
Logginglogger API is stableStructured logs are easier for production and agents

What This Means For You

For normal app work, you do not need to configure the pipeline. You do need to test assumptions that the old pipeline tolerated:

  • invalid .astro markup
  • exact CSS output snapshots
  • Markdown plugin output
  • advanced Vite config
  • whitespace between inline elements

Source-Grounded Facts

The local Astro package confirms:

FactLocal source
Versionastro@7.0.2 in packages/astro/package.json
Vite dependencyvite: ^8.0.13
Node requirementnode: >=22.12.0
Rust compiler dependency@astrojs/compiler-rs
Markdown dependency@astrojs/markdown-satteri

Gotcha: Vite 8 itself supports Node 20.19+ or 22.12+, but Astro 7’s package requires Node 22.12+. Use Astro’s requirement for Astro projects.