I use babel 7.8.3
together with @babel/preset-env
, useBuiltIns: 'usage'
and corejs: 3
. The documentation for @babel/preset-env
is not clear to me.
Do I need to add the following lines at the top of my entry file or is it done automatically by babel?
import 'core-js/stable';
import 'regenerator-runtime/runtime';
useBuiltIns: 'usage'
notuseBuiltIns: 'entry'
– Choragus