Use babel-preset-env instead of the yearly presets.
This allows only the transpilation needed for the supported browsers to be done. It also allows us to use the upgrades from ES2016 and ES2017 without needing to add a seperate preset.
This commit is contained in:
Reference in New Issue
Block a user