DEV Community

Discussion on: How to fix regeneratorRuntime is not defined?

Collapse
 
itzsrikanth profile image
itzsrikanth

I had babel-polyfill in couple of files in codebase but was not able to understand since I was new. In those files it had just this statement to fix issue:

require('babel-polyfill')
Enter fullscreen mode Exit fullscreen mode

or

import 'babel-polyfill'
Enter fullscreen mode Exit fullscreen mode

Thanks for this article..!