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
  • #7308
Closed
Open
Issue created Jul 02, 2019 by Administrator@rootContributor

Clarify polyfilling and browserlist usage documentation

Created by: hugomallet

Hi,

The docs about supported browsers is not clear.

After reading it i still dont understand the following :

  • If the polyfills are not imported, what the browserlist field in package.json is used for ?
  • If i need to support ie11 (and Array.includes for example), what do i need to do exactly ?
  • Is @babel/preset-env used to automatically require polyfills ?
  • Moreover the docs from @babel/preset-env (included with preset react app) indicates to import @babel/polyfill which is now deprecated. react-app-polyfill/stable.js requires the correct package core-js/stable but is browserlist still used using this file ?

Thanks for your help

Assignee
Assign to
Time tracking