grunt-contrib-uglify does not support ES6 minification because the underlying UglifyJS dependency doesn't. The recommended workaround is to use the harmony branch of grunt-contrib-uglify.
Changes
Changes grunt-contrib-uglify to use the harmony branch instead of the release.
Testing
Run npm install.
Run grunt uglify and it should not choke.
Todos
The project should really be updated to use babel/webpack and uglify through that pipeline.
grunt-contrib-uglify
does not support ES6 minification because the underlying UglifyJS dependency doesn't. The recommended workaround is to use theharmony
branch ofgrunt-contrib-uglify
.Changes
grunt-contrib-uglify
to use theharmony
branch instead of the release.Testing
npm install
.grunt uglify
and it should not choke.Todos