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

How do I specify ECMASCRIPT6 as a --language_in parameter in the JavaScriptMinifyWorkAction task? #181

Open
christhomas opened this issue Feb 21, 2023 · 0 comments

Comments

@christhomas
Copy link

I am having a problem converting my application from sbt to gradle, the error is like this

A failure occurred while executing org.gradle.playframework.tasks.internal.JavaScriptMinifyWorkAction
Minification failed with the following errors:
ES6_FEATURE. this language feature is only supported in es6 mode: const declarations. Use --language_in=ECMASCRIPT6 or ECMASCRIPT6_STRICT to enable ES6 features. at /app/app/assets/javascripts/characters.js line 69 : 18

so I understand that I need to add this feature, but I don't know how to do this in my configuration and I can't find any documentation on how to configure how the task will work

does anybody here know how?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant