#1 Requirements

#1.1 Babel

Forget preset-stage-0 , babel-plugin-syntax-async-functions or whatever you can still find on outdated resources. Just use babel-preset-env.

Your .babelrc could look like this for the bare minimum to work (add your fancy plugins and more if needed):

If you’re like me, then you can’t just forget about Internet Explorer ≥ 9. babel-preset-env lets you specify a browserlist config that calculates your needs and then automatically takes care of all the needed babel plugins.

Note: The babel plugins do not bloat your bundle file. Polyfills do: