kottenator / kottenator/django-compressor-toolkit

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

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
enhancement question
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.