Skip to content

fix: add explicit semicolon in preambleCode #485

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

Merged
merged 1 commit into from
May 28, 2025
Merged

Conversation

ArnaudBarre
Copy link
Member

Fixes #484

@ArnaudBarre ArnaudBarre requested a review from sapphi-red May 27, 2025 21:38
@ArnaudBarre ArnaudBarre self-assigned this May 27, 2025
@ArnaudBarre ArnaudBarre merged commit 88585db into main May 28, 2025
16 of 17 checks passed
@ArnaudBarre ArnaudBarre deleted the update-preamble-code branch May 28, 2025 13:09
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Jun 6, 2025
| datasource | package              | from  | to    |
| ---------- | -------------------- | ----- | ----- |
| npm        | @vitejs/plugin-react | 4.5.0 | 4.5.1 |


## [v4.5.1](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#451-2025-06-03)

##### Add explicit semicolon in preambleCode [#485](vitejs/vite-plugin-react#485)

This fixes an edge case when using HTML minifiers that strips line breaks aggressively.
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.

Uncaught SyntaxError: Unexpected identifier 'injectIntoGlobalHook'
2 participants