Here are the main things Babel can do for you:
- Transform syntax
- Polyfill features that are missing in your target environment (through
- Source code transformations (codemods)
- And more! (check out these videos for inspiration)
It’s a service which accepts a request for a set of browser features and returns only the polyfills that are needed by the requesting browser.