Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add a Build option to force using Linux Line endings when building on windows. #321

nicoladj77 opened this Issue Nov 23, 2012 · 2 comments


None yet
2 participants

We are using r.js to build our javascript files, but in the team not everyone uses the same os.
This is causing problems with git, which is confused by different line endings.
It would be cool to have a build option that would force r.js to output only Linux line endings even on windows.


jrburke commented Nov 30, 2012

Oh, I thought when you asked on the mailing list, it was about enforcing the same line returns as what is used by the OS, not forcing to another OS. In that case, the recommended path will be to use a custom onBuildWrite function to convert the line endings to the style you prefer.

@jrburke jrburke closed this Nov 30, 2012

Ok thanks for the suggestion :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment