From 7c8a6cb4611f13124fcd13aeea2b5035ac5f21fc Mon Sep 17 00:00:00 2001 From: Joe Lim Date: Fri, 29 Sep 2017 21:15:35 -0700 Subject: [PATCH] remove inline plugin from Babel's .babelrc (#6348) --- .babelrc.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.babelrc.js b/.babelrc.js index 07772f6453..fb42f3199d 100644 --- a/.babelrc.js +++ b/.babelrc.js @@ -6,24 +6,6 @@ let envOpts = { module.exports = { comments: false, - plugins: [ - // temp until next release - function() { - return { - visitor: { - "Function": function(path) { - const node = path.node; - for (let i = 0; i < node.params.length; i++) { - const param = node.params[i]; - if (param.type === "AssignmentPattern") { - param.left.optional = false; - } - } - } - } - }; - } - ], presets: [ ["env", envOpts], "stage-0",