From 9d1450574d353c07ba56c19b655b04c26081865b Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sat, 15 Sep 2018 15:33:58 +0200 Subject: [PATCH] Revert "transpile babel code frame for es5 compat" This reverts commit e50417653933b7c85cbe46b5f266fd46de4e9699. --- scripts/browserBuild.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/browserBuild.js b/scripts/browserBuild.js index 57299b291857..5061bcdc27a6 100644 --- a/scripts/browserBuild.js +++ b/scripts/browserBuild.js @@ -20,8 +20,7 @@ const babelEs5Options = Object.assign( {}, { babelrc: false, - exclude: - 'node_modules/!(ansi-styles|chalk|ansi-regex|@babel/code-frame)/**', + exclude: 'node_modules/!(ansi-styles|chalk|ansi-regex)/**', plugins: [ 'syntax-trailing-function-commas', 'transform-flow-strip-types',