-
Notifications
You must be signed in to change notification settings - Fork 49.2k
Handle line endings correctly on Windows in build script for RN #26727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle line endings correctly on Windows in build script for RN #26727
Conversation
I don't have access to a Windows machine at the moment. @markerikson, @yanlingwang23 would either of you mind checking if this fixes the issue you were seeing please? |
Comparing: bf449ee...b86039b Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: (No significant changes) |
Yep, that appears to pass on my machine! Confirmed it fails as of |
Thanks again @markerikson for reporting the issue and verifying the fix, and sorry for the inconveniences! |
Sure, thanks for the quick fix! |
## Summary We added some post-processing in the build for RN in #26616 that broke for users on Windows due to how line endings were handled to the regular expression to insert some directives in the docblock. This fixes that problem, reported in #26697 as well. ## How did you test this change? Verified files are still built correctly on Mac/Linux. Will ask for help to test on Windows. DiffTrain build for [f87e97a](f87e97a)
…book#26727) ## Summary We added some post-processing in the build for RN in facebook#26616 that broke for users on Windows due to how line endings were handled to the regular expression to insert some directives in the docblock. This fixes that problem, reported in facebook#26697 as well. ## How did you test this change? Verified files are still built correctly on Mac/Linux. Will ask for help to test on Windows.
## Summary We added some post-processing in the build for RN in #26616 that broke for users on Windows due to how line endings were handled to the regular expression to insert some directives in the docblock. This fixes that problem, reported in #26697 as well. ## How did you test this change? Verified files are still built correctly on Mac/Linux. Will ask for help to test on Windows. DiffTrain build for commit f87e97a.
Summary
We added some post-processing in the build for RN in #26616 that broke for users on Windows due to how line endings were handled to the regular expression to insert some directives in the docblock. This fixes that problem, reported in #26697 as well.
How did you test this change?
Verified files are still built correctly on Mac/Linux. Will ask for help to test on Windows.