You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closure Compiler currently errors if you use certain ES5 features, like getter properties. By adding the following line of code at line 74 of ClosureMinifierPlugin:
options.setLanguageIn(LanguageMode.ECMASCRIPT5);
Closure Compiler will start to accept additional ES5 features.
It's my belief that ECMASCRIPT5 mode will not prevent people from using any ES3 features as there is a separate ECMASCRIPT5_STRICT mode that presumably adds these additional restrictions. Obviously we'll need some test(s) to verify this fix.
The text was updated successfully, but these errors were encountered:
Closure Compiler currently errors if you use certain ES5 features, like getter properties. By adding the following line of code at line 74 of
ClosureMinifierPlugin
:Closure Compiler will start to accept additional ES5 features.
It's my belief that
ECMASCRIPT5
mode will not prevent people from using any ES3 features as there is a separateECMASCRIPT5_STRICT
mode that presumably adds these additional restrictions. Obviously we'll need some test(s) to verify this fix.The text was updated successfully, but these errors were encountered: