Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #1711
Closed
Open
Issue created Mar 03, 2017 by Administrator@rootContributor

Switch from preset-latest to preset-env

Created by: Timer

We should probably switch babel-preset-react-app from babel-preset-latest to babel-preset-env. We should target ie 9.

We now have this beautiful warning:

warning react-scripts > babel-preset-react-app > babel-preset-latest@6.22.0:
💥  preset-latest accomplishes the same task as babel-preset-env.
🙏  Please install it with 'npm install babel-preset-env --save-dev'.
'{ "presets": ["latest" }'
 to 
'{ "presets": ["env"] }'.

For more info, please check the docs: http://babeljs.io/docs/plugins/preset-env 👌.
And let us know how you're liking Babel at @babeljs on 🐦

A PR doing this would be welcome, but please research the stability, too!

Assignee
Assign to
Time tracking