Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Babel deprecation warning to use babel-preset-env instead of babel-preset-es2015 #5

Open
udos opened this issue Oct 14, 2017 · 1 comment

Comments

@udos
Copy link

udos commented Oct 14, 2017

when running
npm install browserify babelify babel-preset-es2015
there is the following deprecation warning:
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 update!

is it sufficient to run
npm install browserify babelify babel-preset-env
or is something else required?

@kottenator
Copy link
Owner

kottenator commented Oct 17, 2017

Try it :) In theory - yes, that's sufficient, but I haven't tried yet.

And I strongly recommend to read what is babel-preset-env before using it. I'm a bit concerned about it because it brings a lot of polyfills into the output code, and developer may not know about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants