Skip to content

Commit

Permalink
feat(esnext): use babel polyfill to enable async/await syntax for esn…
Browse files Browse the repository at this point in the history
…ext projects

closes #959
  • Loading branch information
3cp committed Nov 14, 2018
1 parent 9d4bbbe commit 2fe31f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/commands/new/buildsystems/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions lib/resources/src/main-webpack.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '@babel/polyfill';
import environment from './environment';
import {PLATFORM} from 'aurelia-pal';
import * as Bluebird from 'bluebird';
Expand Down

0 comments on commit 2fe31f5

Please sign in to comment.