webpack-async-await
A webpack Compiler plugin which understands the ES7 keywords async and await
Last updated 3 years ago by matatbread .
MIT · Original npm · Tarball · package.json
$ cnpm install webpack-async-await 
SYNC missed versions from official npm registry.

webpack-async-await

A plugin for webpack understands the ES7 keywords async and await, making building code for Chrome 53, Edge 14 and other ES7-capable platforms simple.

NB: webpack-async-await@^1.1.0 works with webpack@2.1.0-beta.23, for versions prior to beta.23, use webpack-async-await@1.0.4

Usage:


var webpack = require('webpack');
var AsyncAwaitPlugin = require('webpack-async-await') ;

var options = { } ; // See https://github.com/MatAtBread/acorn-es7-plugin#options--compliance

webpack({
    plugins: [
      new AsyncAwaitPlugin(options)
    ],
    
    ...
}).run(function(err,stats){
    ...
});

Further details on the available options can be found at https://github.com/MatAtBread/acorn-es7-plugin#options--compliance

Current Tags

  • 1.1.0                                ...           latest (3 years ago)

6 Versions

  • 1.1.0                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 6
Last Day 0
Last Week 2
Last Month 16
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |