babel-preset-env is configured with useBuiltIns: 'entry' and according to the docs (https://babeljs.io/docs/en/babel-preset-env) import "@babel/polyfill" line is expected in app's entry file, but i can't find it referenced anywhere (even as part of webpack entry points) in the project. Is it enough to add @babel/polyfill to dependencies in pkg.json?
babel-preset-env
is configured withuseBuiltIns: 'entry'
and according to the docs (https://babeljs.io/docs/en/babel-preset-env)import "@babel/polyfill"
line is expected in app's entry file, but i can't find it referenced anywhere (even as part of webpack entry points) in the project. Is it enough to add@babel/polyfill
to dependencies in pkg.json?