Skip to content

Conversation

@tim-we
Copy link

@tim-we tim-we commented Aug 26, 2022

I think in the method preprocessPass1 in minify.ts there is a bug:

output = output.replace('\r', '');

This code will only replace the first occurrence of \r so it won't do proper line ending normalization. This PR fixes that.

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.

1 participant