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(build): mixed external and transpiled srcset #14888

Merged
merged 3 commits into from
Nov 7, 2023

Conversation

patak-dev
Copy link
Member

Description

The two commits could be merged separately.

Follow up to #14870, fixing the commented-out test during build added in the PR.

The first commit is a refactor to avoid some "is public" checks and avoid confusion with isExcluded, as public urls are transpiled.

The second commit is the fix. The URLs are overwritten in parallel after these changes, and they are only replaced if the decoded URL is different from the processed URL. Before it was always replaced, so we were changing encoded URLs to decoded ones even if no transpilation is needed.


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

@patak-dev patak-dev added the p3-minor-bug An edge case that only affects very specific usage (priority) label Nov 6, 2023
Copy link

stackblitz bot commented Nov 6, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

bluwy
bluwy previously approved these changes Nov 7, 2023
@patak-dev patak-dev merged commit b5653d3 into main Nov 7, 2023
15 checks passed
@patak-dev patak-dev deleted the fix/srcset-during-build branch November 7, 2023 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: html p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants