1.1.0 • Published 8 years ago

webpack-async-await v1.1.0

Weekly downloads
90
License
MIT
Repository
-
Last release
8 years ago

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

1.1.0

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago