browser: fix compilation for async/await.

This commit is contained in:
Christopher Jeffrey 2017-06-24 14:54:22 -07:00
parent f70d6b8b45
commit effa1e00b8
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
{
"presets": ["es2015"],
"plugins": [
"transform-async-to-generator",
["transform-runtime", {
"polyfill": true,
"regenerator": true

View File

@ -40,6 +40,7 @@
"babel-polyfill": "^6.23.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-plugin-transform-regenerator": "^6.24.1",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"browserify": "^14.3.0",
"eslint": "^4.1.0",
"hash.js": "^1.0.3",