django-compressor-toolkit icon indicating copy to clipboard operation
django-compressor-toolkit copied to clipboard

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

Open udos opened this issue 8 years ago • 1 comments

when running npm install browserify babelify babel-preset-es2015 there is the following deprecation warning: npm WARN deprecated [email protected]: 🙌 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?

udos avatar Oct 14 '17 07:10 udos

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.

kottenator avatar Oct 17 '17 17:10 kottenator