Update options to babylon

master
James Long 2017-01-10 14:18:39 -05:00
parent 5cb5148876
commit 56abf5fc46
1 changed files with 9 additions and 12 deletions

View File

@ -9,20 +9,17 @@ var babylonOptions = {
allowImportExportEverywhere: false,
allowReturnOutsideFunction: false,
plugins: [
'asyncFunctions',
'asyncGenerators',
'classConstructorCall',
'classProperties',
'decorators',
'doExpressions',
'exponentiationOperator',
'exportExtensions',
'flow',
'functionSent',
'functionBind',
'jsx',
'flow',
'doExpressions',
'objectRestSpread',
'trailingFunctionCommas'
'decorators',
'classProperties',
'exportExtensions',
'asyncGenerators',
'functionBind',
'functionSent',
'dynamicImport'
]
};