rollup-plugin-async
Transforms Async functions to generator functions before bundling.
Last updated 3 years ago by leebyron .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install rollup-plugin-async 
SYNC missed versions from official npm registry.

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(...);

Current Tags

  • 1.2.0                                ...           latest (3 years ago)

3 Versions

  • 1.2.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.1                                ...           4 years ago

Copyright 2014 - 2016 © taobao.org |