Use the latest Babel version and preset env package
Closed this issue ยท 1 comments
Babel has a new version and preset env package for handling presets, its currently throwing the following warning during the build:
We're super ๐ธ excited that you're trying to use ES2017+ syntax, but instead of making more yearly presets ๐ญ , Babel now has a better preset that we recommend you use instead: npm install babel-preset-env --save-dev. preset-env without options will compile ES2015+ down to ES5 just like using all the presets together and thus is more future proof. It also allows you to target specific browsers so that Babel can do less work and you can ship native ES2015+ to user ๐ !
We are also in the process of releasing v7, so please give http://babeljs.io/blog/2017/09/12/planning-for-7.0 a read and help test it out in beta! Thanks so much for using Babel ๐, please give us a follow on Twitter @babeljs for news on Babel, join slack.babeljs.io for discussion/development and help support the project at opencollective.com/babel
warning babel-brunch > babel-preset-latest > babel-preset-es2015@6.24.1: ๐ Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
Updated as part of changes included in #177