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(hydrate): Add missing alias to hydrate build to fix app globals #6005

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

George-Payne
Copy link
Contributor

The hydrate platform esbuild is missing an alias for @app-globals, causing it to be resolved to the noop in src/app-globals/index.ts. This results in the globals not being correctly included in hydrate apps.

Adding the alias returns hydrate to it's previous behaviour.

What is the current behavior?

GitHub Issue Number: #6002

What is the new behavior?

Hydrate app now includes global script.

Documentation

none

Does this introduce a breaking change?

  • Yes
  • No

Testing

See #6002

@George-Payne George-Payne requested a review from a team as a code owner October 1, 2024 16:59
Copy link
Member

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@christian-bromann christian-bromann added this pull request to the merge queue Oct 2, 2024
Merged via the queue into ionic-team:main with commit c5a8ea9 Oct 2, 2024
88 checks passed
@George-Payne George-Payne deleted the fix-hydrate-build branch October 2, 2024 22:35
@christian-bromann
Copy link
Member

Released in Stencil v4.22.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants