Skip to content

[pull] main from withastro:main#590

Merged
pull[bot] merged 3 commits into
code:mainfrom
withastro:main
Jun 11, 2026
Merged

[pull] main from withastro:main#590
pull[bot] merged 3 commits into
code:mainfrom
withastro:main

Conversation

@pull

@pull pull Bot commented Jun 11, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

jettwayio and others added 3 commits June 11, 2026 15:05
* fix(render): honour compressHTML when joining head elements

The separator between rendered <link> and <script> tags in
renderAllHeadContent was hardcoded to '\n', ignoring the
existing result.compressHTML flag used elsewhere in the pipeline.

Switch to a conditional separator so compressed output omits
newlines between head elements, consistent with doctype injection and other compressHTML-aware rendering paths.

* Create fix-compress-html-head-join.md

* Update head.ts

* Update head.ts

* Update head.ts
…tic builds with preserveBuildClientDir\n\nWhen an adapter sets preserveBuildClientDir (e.g. @astrojs/cloudflare), static builds\nemit images to build.client (dist/client/_astro/) but the image optimization step was\nlooking in outDir (dist/_astro/), causing ENOENT errors.\n\nReplace the hardcoded outDir fallback in prepareAssetsGenerationEnv with\ngetClientOutputDirectory(), which correctly respects the preserveBuildClientDir\nadapter feature.\n\nFixes #16919 (#17050)
@pull pull Bot locked and limited conversation to collaborators Jun 11, 2026
@pull pull Bot added the ⤵️ pull label Jun 11, 2026
@pull pull Bot merged commit 3719765 into code:main Jun 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants