What is the expected behaviour for output of newlines?

Topics: General
Jan 31, 2014 at 8:59 PM
I'm not quite clear, and I can't find any mention of it.

A project of mine I has a problem with Windows crlf's messing with a Mac user.

Stackoverflow pointed me to this ticket in the Yeoman issues that led me to a whole pile of the same problem in regular JS projects. It comes down to file having crlf's in the javascript (and publishing that).

So I checked my compile output and it has crlf's (I'm on Windows)

I could just forcefully remove them from the build files but then the source-map would be incorrect. Not a huge problem for production but mildly complicating.

How is this supposed to work, and is there a way to control this?