1. rollup-plugin-async
Transforms Async functions to generator functions before bundling.
rollup-plugin-async
Package: rollup-plugin-async
Created by: leebyron
Last modified: Sun, 26 Jun 2022 13:57:51 GMT
Version: 1.2.0
License: BSD-3-Clause
Downloads: 3,744
Repository: https://github.com/leebyron/rollup-plugin-async

Install

npm install rollup-plugin-async
yarn add rollup-plugin-async

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

Dependencies

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin