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

Not support ES6 ES6, like let #491

Closed
chsyzxcv opened this issue Sep 12, 2017 · 4 comments
Closed

Not support ES6 ES6, like let #491

chsyzxcv opened this issue Sep 12, 2017 · 4 comments

Comments

@chsyzxcv
Copy link

Not ES6, like let in latest version ? grunt-contrib-uglify report Unexpected token name «subitem»
for example, for(let subitem in setting)

@XhmikosR
Copy link
Member

#482 (comment)

@alexlamsl
Copy link
Contributor

Use harmony branch which supports up to ES8.

@chsyzxcv
Copy link
Author

chsyzxcv commented Sep 13, 2017

hi alexlamsl ,
Thank you so much for your reply. how can we install harmony branch by using npm?
npm install grunt-contrib-uglify --save-dev

@chsyzxcv
Copy link
Author

hi alexlamsl,
i had successfully install harmony version . It's work perfectly. Thank you so much
npm install git://github.com/gruntjs/grunt-contrib-uglify.git#harmony

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

3 participants