webpack-glsl-minify
webpack-glsl-minify copied to clipboard
Fix line ending normalization
I think in the method preprocessPass1 in minify.ts there is a bug:
output = output.replace('\r', '');
This code will only replace the first occurrence of \r so it won't do proper line ending normalization. This PR fixes that.