terser / html-minifier-terser

actively maintained fork of html-minifier - minify HTML, CSS and JS code using terser - supports ES6 code
https://terser.org/html-minifier-terser
MIT License
385 stars 32 forks source link

[Feature request]: Preserve EOF newline for Unix file format #156

Open thdoan opened 1 year ago

thdoan commented 1 year ago

What happened?

Please have an option to preserve the last \n for LF filetypes to prevent [noeol] warnings in Vim.

Version

v7.2.0

What browsers are you seeing the problem on?

No response

Link to reproduce

No response

Relevant log output

No response

Willing to submit a PR?

None

DanielRuf commented 3 weeks ago

Can you provide a reproducible test case or steps to reproduce this?