thgh / rollup-plugin-scss

Rollup and compile multiple .scss, .sass and .css imports
MIT License
134 stars 47 forks source link

Insert extra new line at the end of the files #110

Open OpenDog opened 9 months ago

OpenDog commented 9 months ago

Could you please insert an additional newline at the end of each concatenated file? Sometimes, people (like me) forget to include a '\n' at the end of the file, which can result in random errors (invalid concatenated file). For instance, if the file ends with a comment, and you continue with the next file, the first line might unintentionally become part of the comment. This issue is quasi-random and depends on the file order.

Screenshot 2023-11-17 at 4 44 50 PM
thgh commented 6 months ago

Sure, PR welcome!