I tried sbt-uglify with play 2.7.x, but it is not working with es6 syntax. Getting error e.g with-- const x = (x, y) => x * y;
Much needed plugin. Meanwhile, you can check out transpires that take ES6 and translate it to ES5:
- https://github.com/poirierlouis/sbt-traceur
- https://github.com/fabiosantoscode/terser (not an SBT plugin, but Uglify.js for ES6)
- https://github.com/stonexx/sbt-babeljs (Using babel.js instead of Uglify)