babel presets: "es2015" deprecated, using "env" is recommended?
See original GitHub issuefrom the babel docs: https://babeljs.io/docs/plugins/preset-es2015/
I had a compile error as I was using env
instead, should I have the “es2015” preset for this library?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
babel-preset-es2015 -> babel-preset-env - Babel.js
We're super excited that you're trying to use ES2015 syntax, but instead of continuing yearly presets, the team recommends using babel-preset-env.
Read more >2 - Stack Overflow
npm WARN deprecated babel-preset-es2015@6.24.1: Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env ...
Read more >babel-preset-es2015 - npm
This package has been deprecated Author message: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs ...
Read more >babel-preset-es2015 | Yarn - Package Manager
Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update! Babel preset for all es2015 plugins. readme ...
Read more >Search - appsloveworld
[Solved]-Npm WARN deprecated babel-preset-es2015@6.24.1: Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@balestrinc I deleted “es2015” from their presets and added “stage-3” to my own (along with env) and it works fine. (apparently “env” doesn’t support stage-x plugins: https://github.com/babel/babel-preset-env/issues/14)
We’ve switched to
babel-env
in thedevelopment
branch.