Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1005 Bytes

transform-regenerator.md

File metadata and controls

26 lines (22 loc) · 1005 Bytes
layout title description permalink package
docs
Regenerator transform
/docs/plugins/transform-regenerator/
babel-plugin-transform-regenerator

This plugin uses the regenerator module to transform async and generator functions. regeneratorRuntime is not included.

Runtime required

You need to use either the Babel polyfill or the regenerator runtime so that regeneratorRuntime will be defined.

Async functions

These are only usable if you enable their syntax plugin. See syntax-async-functions for information.

{% include package_readme.html %}