kottenator / kottenator/django-compressor-toolkit
Babel deprecation warning to use babel-preset-env instead of babel-preset-es2015
- Dominant language
- Python
- Stars
- 75
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the documented npm install command with browserify, babelify, and babel-preset-es2015, then compare it with babel-preset-env. Confirm whether the replacement removes the deprecation warning and whether the project's ES6 build still works; the issue is done when the required installation steps are documented clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100