Closed whthT closed 6 years ago
@whthT thanks for catching this and creating a PR.
I was just looking into this as well and discovered that the reason minified
was undefined was because UglifyJS changes how they handle errors. Previously they just threw them and we caught it later, but now they return an object with an error property. Because of this we are currently not properly showing errors when minification fails 😞.
I put up another PR which solves this and also propagates the errors correctly. #284
Closing this, but we should merge and release #284 today. Thanks again!
TypeError: Cannot read property 'length' of undefined