Closed denysdovhan closed 7 years ago
Not compatible with uglify-js.
Detect uglifyjs-brunch
and set "uglify"
as target. Easy and not BREAKING
.
https://github.com/babel/babel-preset-env/pull/178
@shvaikalesh looks good. Seems like a possible solution.
Yes, just add uglify: true
for production.
Should be fixed by #53.
From Babel's Slack: