trullock / NUglify

NUglify is a HTML, JavaScript and CSS minification Library for .NET (fork of AjaxMin + new features)
Other
396 stars 79 forks source link

Fixed lineBreak for arrowFunction #336

Closed AndreasHoffmann2 closed 2 years ago

AndreasHoffmann2 commented 2 years ago

We ran into a syntax-error when using an arrow-function: MicrosoftTeams-image The line-break before "=>" should not be there.

Created a unit-test and fixed the issue.

AndreasHoffmann2 commented 2 years ago

We found several other issues with the line-breaks and are currently working on a generic test and the necessary fixes. Please do not merge this one for the moment.

AndreasHoffmann2 commented 2 years ago

Closed since we have a better test now: https://github.com/trullock/NUglify/pull/338