I've recently removed @babel/polyfill to use core-js@3.
When building my project webpack states:
Based on your code and targets, added regenerator-runtime
and it then fails when it cannot be resolved.
So i install the regenerator-runtime package and everything works.
But I'm not entirely sure why this doesn't work without that package? Can anyone point me in the direction of some good reading? My googling hasn't thrown the right results up