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: utf8 normalization #353

Merged
merged 16 commits into from
Dec 30, 2022
Merged

fix: utf8 normalization #353

merged 16 commits into from
Dec 30, 2022

Conversation

louisgv
Copy link
Contributor

@louisgv louisgv commented Dec 21, 2022

Details

This PR added the ascii_only formatting for the terser plugin optimizer that's invoked at the end of the production bundling process. This ensure the final code contains only ASCII which should sastisfy the chrome runtime which doesn't allow non-utf8 symbols.

For the dev runtime, it strip out any non-utf8 stuff (reimplemented terser's utf8 stripping)

Code of Conduct

@louisgv louisgv self-assigned this Dec 21, 2022
@louisgv louisgv linked an issue Dec 21, 2022 that may be closed by this pull request
2 tasks
@louisgv louisgv changed the title fix: utf8 issue fix: utf8 normalization Dec 21, 2022
@ColdSauce
Copy link
Contributor

Can you write down more context why this fixes the issue?

@louisgv louisgv merged commit 6c55912 into main Dec 30, 2022
@louisgv louisgv deleted the 351-bug-utf8-issue branch December 30, 2022 08:05
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.

[BUG] UTF8 issue
2 participants