Should the EOL characters in generated files (.bs.js in my case) be the same for both Mac and Windows?
I was discussing a project recently with someone on Windows (I’m on Mac) and noticed that after running the ReScript compiler on their machine, VSCode was indicating that the generated .bs.js had changed. A visual spot check in the diff tool did not show any differences so I’m currently assuming it’s the end of line characters.
Unfortunately I don’t have access to a Windows machine at the moment, so just checking if anyone else has seen different EOL characters on Windows compared to Mac.
The ReScript printer currently always emits \n newlines. If you don’t use the printer and have your editor output windows line endings, there might be a discrepancy