Answers for "ReferenceError: regeneratorRuntime is not defined webpack babel"

3

react ReferenceError: regeneratorRuntime is not defined

// yarn add @babel/plugin-transform-runtime --dev
// yarn add @babel/runtime

//.babelrc

"plugins": [
    ["@babel/plugin-transform-runtime",
      {
        "regenerator": true
      }
    ]
  ],
Posted by: Guest on June-17-2021

Code answers related to "ReferenceError: regeneratorRuntime is not defined webpack babel"

Code answers related to "Javascript"

Browse Popular Code Answers by Language