lib | notes |
---|---|
babel-cli | basically what you need always |
babel-register | this is only for dev or local use and not production or browser |
babel-core | only necessary if using babel programatically |
babel-polyfill | shims inconsistent browser functions like Array.from , etc. |
babel-runtime | only helps at a code level by optimizing babel helpers into a single runtime |
use presets