Permalink
Browse files

feat(esnext): use babel polyfill to enable async/await syntax for esn…

…ext projects

closes #959
  • Loading branch information...
huochunpeng committed Nov 14, 2018
1 parent 9d4bbbe commit 2fe31f5010cf19d2ffe8f1696f2c8041eb7f2f38
Showing with 3 additions and 1 deletion.
  1. +2 −1 lib/commands/new/buildsystems/cli/index.js
  2. +1 −0 lib/resources/src/main-webpack.js
@@ -62,7 +62,8 @@ module.exports = function(project, options) {
{
'path': 'node_modules/aurelia-cli/lib/resources/scripts/configure-bluebird.js',
'env': 'dev'
}
},
'node_modules/@babel/polyfill/browser.js'
],
dependencies: [
// only needs packages not explicitly depend
@@ -1,3 +1,4 @@
import '@babel/polyfill';
import environment from './environment';
import {PLATFORM} from 'aurelia-pal';
import * as Bluebird from 'bluebird';

0 comments on commit 2fe31f5

Please sign in to comment.