When uglify-js fails to parse (i.e. when some ES6 module was accidently not configured to be transpiled to ES5), it should not simply re-throw the uglify-js error, since it only contains filename: '0'. The error should contain the currently processed fileName. Ideally, the offending line should be output too.
https://github.com/systemjs/builder/blob/52ad54cc7714c77b4947269555266f84ab090029/lib/output.js#L80
When uglify-js fails to parse (i.e. when some ES6 module was accidently not configured to be transpiled to ES5), it should not simply re-throw the uglify-js error, since it only contains
filename: '0'
. The error should contain the currently processedfileName
. Ideally, the offending line should be output too.