Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(assets): Fix image errors when images were used on the client #9049

Merged
merged 4 commits into from
Nov 10, 2023

Conversation

Princesseuh
Copy link
Member

@Princesseuh Princesseuh commented Nov 10, 2023

Changes

We can't track images used on the client, so we need to always assume that they're used and can't be deleted from the final build

Fix #9044

Testing

Added a test

Docs

N/A

Copy link

changeset-bot bot commented Nov 10, 2023

🦋 Changeset detected

Latest commit: ff99d78

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 Nov 10, 2023
@github-actions github-actions bot added the pr: docs A PR that includes documentation for review label Nov 10, 2023
@Princesseuh Princesseuh marked this pull request as ready for review November 10, 2023 10:49
@GiyoMoon
Copy link

Thanks a lot for this fix 🙏 Ran into this issue earlier today.

@Princesseuh
Copy link
Member Author

Thanks a lot for this fix 🙏 Ran into this issue earlier today.

No worries! Just in case, this is a 3.5.0 regression, downgrading to the latest 3.4.x version should work in the meantime while we release this fix (likely later today)

@Princesseuh Princesseuh merged commit 49b82ed into main Nov 10, 2023
13 checks passed
@Princesseuh Princesseuh deleted the fix/client-side-images branch November 10, 2023 13:01
@astrobot-houston astrobot-houston mentioned this pull request Nov 10, 2023
natemoo-re pushed a commit that referenced this pull request Nov 22, 2023
)

* fix(assets): Fix image errors when images were used on the client

* test: add a test

* chore: changeset
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) pr: docs A PR that includes documentation for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot read properties of undefined (reading 'referencedImages')
4 participants