```javascript
return (this.env === 'production') ? uglifyJavaScript(es6) : es6;
```