babel / babel-brunch

Brunch plugin for Babel
ISC License
69 stars 38 forks source link

[BREAKING] Use babel-preset-env instead of babel-preset-latest #54

Closed denysdovhan closed 7 years ago

denysdovhan commented 7 years ago

From Babel's Slack:

image

paulmillr commented 7 years ago

Not compatible with uglify-js.

shvaikalesh commented 7 years ago

Detect uglifyjs-brunch and set "uglify" as target. Easy and not BREAKING. https://github.com/babel/babel-preset-env/pull/178

denysdovhan commented 7 years ago

@shvaikalesh looks good. Seems like a possible solution.

yavorsky commented 7 years ago

Yes, just add uglify: true for production.

denysdovhan commented 7 years ago

Should be fixed by #53.