Skip to content
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

Fix file path separator compatibility in scripts/babel #24318

Merged
merged 1 commit into from Apr 8, 2022

Conversation

zjfresh
Copy link
Contributor

@zjfresh zjfresh commented Apr 8, 2022

The problem in scripts\babel\transform-object-assign.js is that file path separator has '/' and '' between Linux, MacOS and Windows, which causes yarn build error. See #24103

Summary

How did you test this change?

The problem in scripts\babel\transform-object-assign.js is that file path separator has '/' and '\' between Linux, MacOS and Windows, which causes yarn build error. See facebook#24103
@sizebot
Copy link

sizebot commented Apr 8, 2022

Comparing: bafe912...e167a57

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.min.js = 131.40 kB 131.40 kB = 41.98 kB 41.98 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 136.45 kB 136.45 kB = 43.43 kB 43.43 kB
facebook-www/ReactDOM-prod.classic.js = 433.07 kB 433.07 kB = 79.60 kB 79.60 kB
facebook-www/ReactDOM-prod.modern.js = 418.07 kB 418.07 kB = 77.24 kB 77.24 kB
facebook-www/ReactDOMForked-prod.classic.js = 433.07 kB 433.07 kB = 79.61 kB 79.61 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against e167a57

@gaearon gaearon merged commit a9add2f into facebook:main Apr 8, 2022
@gaearon
Copy link
Collaborator

gaearon commented Apr 8, 2022

Thanks!

rickhanlonii pushed a commit that referenced this pull request Apr 13, 2022
The problem in scripts\babel\transform-object-assign.js is that file path separator has '/' and '\' between Linux, MacOS and Windows, which causes yarn build error. See #24103
rickhanlonii pushed a commit that referenced this pull request Apr 14, 2022
The problem in scripts\babel\transform-object-assign.js is that file path separator has '/' and '\' between Linux, MacOS and Windows, which causes yarn build error. See #24103
zhengjitf pushed a commit to zhengjitf/react that referenced this pull request Apr 15, 2022
The problem in scripts\babel\transform-object-assign.js is that file path separator has '/' and '\' between Linux, MacOS and Windows, which causes yarn build error. See facebook#24103
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants