I wanna use async-await andpolyfill give me 200+kb after compressed, but I cannot find async-await…
dxcqcv
1

https://babeljs.io/docs/plugins/transform-regenerator/ async-await I believe is supported via regeneratorRunTime. The article is now outdated as it catered for Wepback 1. With Webpack 2 and https://github.com/babel/babel-preset-env the optimisation I have done here for babel-poyfillcould come for free.

Like what you read? Give Nimesh a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.