• Ville Immonen's avatar
    Transform async functions with regenerator (#332) · 6ea7ec5a
    Ville Immonen authored
    * Transform async functions with regenerator
    
    Remove `transform-async-to-generator`, which to my understanding is meant
    to be used in environments that support generators natively.
    
    Because we're compiling generators to ES5 anyway, we can simply use
    `regenerator` to transform async functions too, which results in
    slightly simpler output and only uses the regenerator runtime instead
    regenerator runtime + _asyncToGenerator Babel helper.
    
    * Add babel-plugin-transform-regenerator
    
    * Use dependencies with an exact version
    6ea7ec5a