Skip to content

Conversation

@Princesseuh
Copy link
Member

Changes

Bit of a wasteful code, but this is only way I figured out to make it work in every case since we don't have access to Vite.

Fix #14766

Testing

There's a test for what the original PR tried to fix already. I don't think this necessarily warrant a new test because there's not exactly a real issue underneath here. I think some people were confused by the error message, some by the alias regression etc.

Docs

N/A

@changeset-bot
Copy link

changeset-bot bot commented Dec 16, 2025

🦋 Changeset detected

Latest commit: 417ffda

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

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Dec 16, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Dec 16, 2025

CodSpeed Performance Report

Merging #15028 will not alter performance

Comparing fix/bare-images-content-layer-json (417ffda) with main (a178422)

Summary

✅ 6 untouched

@Princesseuh Princesseuh merged commit 87b19b8 into main Dec 16, 2025
26 checks passed
@Princesseuh Princesseuh deleted the fix/bare-images-content-layer-json branch December 16, 2025 13:29
florian-lefebvre added a commit that referenced this pull request Dec 16, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <[email protected]>
Co-authored-by: Matt Kane <[email protected]>
Co-authored-by:  Matthew Phillips <[email protected]>
Co-authored-by: Matthew Phillips <[email protected]>
Co-authored-by: Erika <[email protected]>
Co-authored-by: Antony Faris <[email protected]>
Co-authored-by: Erika <[email protected]>
Co-authored-by: Chris Swithinbank <[email protected]>
Co-authored-by: Houston (Bot) <[email protected]>
Co-authored-by: Florian Lefebvre <[email protected]>
fix(ci): Reinstall deps after having published VS Code (#14996)
fix(svelte): allow client directives (#15004)
fix(assets): Fixes missing format option for svgs in the passthrough service (#14987)
fix(deps): update all non-major dependencies (#15020)
fix(content-layer): Try a smarter solution to normalize bare image paths in JSON (#15028)
fix(astro): assets vite build log (#15034)
resolved (#15033)
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.

Regression due to #14590: images with absolute paths in JSON cause (confusing) errors

3 participants