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

Update Vite-related packages #539

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Update Vite-related packages #539

merged 1 commit into from
Oct 10, 2023

Conversation

lucaswerkmeister
Copy link
Member

As far as I can tell, this doesn’t seem to affect the compatibility of the generated code: while the output changes a bit, its size is almost identical; furthermore, the Vite changelog mentions that the nullish coalescing operator isn’t transpiled anymore since Vite 4, but we use such an operator in actions.ts and the corresponding build code can be found by searching for .language.display.label, and it doesn’t appear to have changed at all – so I think our build config is sufficiently specific that the change to Vite’s defaults doesn’t actually change the target version.

Bug: T348108

As far as I can tell, this doesn’t seem to affect the compatibility of
the generated code: while the output changes a bit, its size is almost
identical; furthermore, the Vite changelog mentions that the nullish
coalescing operator isn’t transpiled anymore since Vite 4, but we use
such an operator in actions.ts and the corresponding build code can be
found by searching for .language.display.label, and it doesn’t appear to
have changed at all – so I think our build config is sufficiently
specific that the change to Vite’s defaults doesn’t actually change the
target version.

Bug: T348108
@github-actions
Copy link

github-actions bot commented Oct 9, 2023

Copy link
Collaborator

@micgro42 micgro42 left a comment

Choose a reason for hiding this comment

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

I checked that the nullish coalescing operator (??) doesn't show up in the actual build output and it indeed does not.

@lucaswerkmeister lucaswerkmeister merged commit 3ecd456 into main Oct 10, 2023
3 checks passed
@lucaswerkmeister lucaswerkmeister deleted the update-vite branch October 10, 2023 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants