From f8df2ed381b88bdda7661f3a41a59f6f571a442f Mon Sep 17 00:00:00 2001 From: Nicolas Charpentier Date: Wed, 16 Aug 2017 14:28:59 -0400 Subject: [PATCH 1/2] Fix Unexpected token ) --- babel-preset/configs/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babel-preset/configs/main.js b/babel-preset/configs/main.js index c2f4d483efdacb..2a9b21b03d71cd 100644 --- a/babel-preset/configs/main.js +++ b/babel-preset/configs/main.js @@ -37,7 +37,7 @@ const getPreset = (src, options) => { [ 'transform-es2015-modules-commonjs', {strict: false, allowTopLevelThis: true}, - ], + ] ); if (isNull || src.indexOf('async') !== -1 || src.indexOf('await') !== -1) { From c19d86fd094e714ea050ad92e4280677d10be3cf Mon Sep 17 00:00:00 2001 From: Eli White Date: Wed, 16 Aug 2017 15:15:58 -0700 Subject: [PATCH 2/2] Removed @format --- babel-preset/configs/main.js | 1 - 1 file changed, 1 deletion(-) diff --git a/babel-preset/configs/main.js b/babel-preset/configs/main.js index 2a9b21b03d71cd..b30d0341ecf818 100644 --- a/babel-preset/configs/main.js +++ b/babel-preset/configs/main.js @@ -6,7 +6,6 @@ * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * - * @format */ 'use strict';