Я продолжаю получать:
App.jsx: 11 Uncaught ReferenceError: регенератор не определен
в любой строке, выполняющей асинхронный вызов.Я не знаю, что такое polyfill, но мне трудно от него избавиться:
app.jsx:11)
const fetcher = (async () => {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@babel/preset-react": "^7.0.0",
"@types/react": "^16.8.17",
"babel-preset-env": "^1.7.0"
вот это .babelrc
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"chrome": ">70",
},
"exclude": ["transform-regenerator"]
},
"@babel/preset-react"
]
]
}