-
Notifications
You must be signed in to change notification settings - Fork 11
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
Uknown option --language_in=ECMASCRIPT6 or ECMASCRIPT6_STRICT
#25
Comments
Unfortunately CKBuilder does not support ES6 syntax and this flag. The error comes from Closure Compiler, which is used internally by CKBuilder. It means that even if you want to use such a simple thing such as I tried to update Closure Compiler in CKBuilder and add support for ES6, As a workaround, at least for the time being, you need to translate the plugin to ES5 and then run CKBuilder with it. |
Gotcha, we could babel it first, then run CKBuilder. |
Thanks @wwalc ! |
Short update: it looks like I have to give up for now with adding the ES6 support. I pushed my changes to the
when using CS with ES5 mode (which we should continue using for the online builder) ( Unfortunately failing on errors like this would be a major problem for the online builder, because many 3rd party plugins include such code. While I completely agree that such code should be cleaned up, the reality is that it would take months for 3rd party maintainers to correct their plugins and some of them would have to be fixed by us, because we may expect that some plugins are also no longer actively maintained. So in other words, this grows to quite a time consuming task:
|
I'm getting the following error when building.
Adding this suggested option to
./build.sh
results in crashing as well. Am I missing something?The text was updated successfully, but these errors were encountered: