-
Notifications
You must be signed in to change notification settings - Fork 50k
Update closure compiler #35303
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
base: main
Are you sure you want to change the base?
Update closure compiler #35303
Conversation
| rewrite_polyfills: false, | ||
| inject_libraries: false, | ||
| allow_dynamic_import: true, | ||
| dynamic_import_alias: 'import', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This option is now required for dynamic import support. We just alias it back to import.
|
Oh no. The new one is not compatible with old version and vice versa. |
poteto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I think this means we can remove our custom Java install step too: https://github.com/facebook/react/blob/main/.github/workflows/runtime_build_and_test.yml#L332-L335
Only reason we had it was to support that old version of Closure Compiler.
|
I think you might need to add this to runtime_build_and_test.yml, right at the top: env:
JAVA_HOME: ${{ env.JAVA_HOME_21_X64 }} |
b8e7acd to
affe65d
Compare
9553f20 to
ec05cc1
Compare
65a87f8 to
6e7b6fa
Compare
6e7b6fa to
96ba6c4
Compare
The old one is not supported on newer OpenJDK.