-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Documentation for rewrite_polyfills in the API is missing #3104
Comments
We keep all the flags documented here now: https://github.com/google/closure-compiler/wiki/Flags-and-Options But it would be nice if the developers site could be updated to point there. |
We should also rename the option, as it doesn't rewrite polyfills it simply includes them. |
https://github.com/google/closure-compiler/wiki/Flags-and-Options#library-and-framework-specific |
https://github.com/google/closure-compiler/wiki/Polyfills has some more details on I'll send out a change making
|
Addresses #3104 (comment). PiperOrigin-RevId: 400248121
https://developers.google.com/closure/compiler/docs/api-ref now includes |
I noticed the output from the command-line closure compiler included polyfills (recognizable by inclusion of
$jscomp
object at the beginning of the code), but the API service and the demo compiler do not include polyfills by default. I stumbled around the internet for a while before I finally found an answer on stack overflow that pointed me to therewrite_polyfills
parameter. It would be great ifrewrite_polyfills
could be documented at https://developers.google.com/closure/compiler/docs/api-ref and the default noted.The text was updated successfully, but these errors were encountered: