Babel Plugin for replacing thow Errors to throw 0, for better minification Install From NPM for programmatic use: npm install babel-throw-error-uglifier Usage As babel plugin .babelrc plugins: ['babel-throw-error-uglifier']