django-compressor-toolkit
django-compressor-toolkit copied to clipboard
Babel deprecation warning to use babel-preset-env instead of babel-preset-es2015
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?
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.