babel/generator-babel-boilerplate

babel-present-latest is deprecated

Opened this issue ยท 2 comments

Running yo babel-boilerplate gives this deprecation warning:

npm WARN deprecated babel-preset-latest@6.14.0: 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

https://babeljs.io/docs/plugins/preset-latest/ confirms that babel-preset-env is the recommended replacement.

Thanks @benshine ! Would you like to open a PR?

Yep, will do!