I have some JavaScript that I am minifying with sbt-uglify. However it is throwing a few warnings regard ing [error] WARN: Collapsing variable. When I look at the JS it is perfectly valid and theres no issues, for example.
var tokens = text.match(/\S+/g) || [];
length = tokens.length;
Is there a way I can tell sbt-uglify to not provide those warnings?