You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Lee Byron c9cb8257ee Squashed commit of the following: 8 years ago
test Proper support for for-await-of 8 years ago
.gitignore rollup plugin async 8 years ago
.travis.yml rollup plugin async 8 years ago
README.md rollup plugin async 8 years ago
index.js Squashed commit of the following: 8 years ago
package.json Proper support for for-await-of 8 years ago

README.md

Rollup Async functions plugin

Build Status

This Rollup plugin will replace async functions with generator functions that can run in modern browsers or in most versions of node.js during bundling using async-to-gen.

Install

npm install --save rollup-plugin-async
var rollup = require('rollup').rollup;
var async = require('rollup-plugin-async');

rollup({
  entry: 'main.js',
  plugins: [ async() ]
}).then(...);