Gatsby supports by default the last two versions of major browsers, IE 9+, as well as any browser that still has 1%+ browser share.
If you only target newer browsers, see the Browser Support docs page for how to instruct Gatsby on which browsers you support and then Babel will start compiling for only these browsers.
Gatsby ships with a default .babelrc setup that should work for most sites. If you’d like
to add custom Babel presets or plugins, you can create your own
.babelrc at the root of
your site, import
and add additional plugins, presets, and pass options to
For more advanced configurations, you can also copy the defaults from
babel-preset-gatsby and customize them to suit your needs.
Edit this page on GitHub