To get async functions working I had to manually add the regenerator runtime. This is concerning, as (i think) it means that babel-preset-env didn't add the polyfills to the service worker file, only the index.client.js file.
[ ] figure out why it doesnt put the regenerator runtime on there automagically
To get async functions working I had to manually add the regenerator runtime. This is concerning, as (i think) it means that babel-preset-env didn't add the polyfills to the service worker file, only the index.client.js file.