From 5bb4ee73da59fd9be7c94ef9337ab3917f12dce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Fri, 15 Nov 2019 11:48:37 -0500 Subject: [PATCH] chore: use loose mode of transform (#10718) --- babel.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/babel.config.js b/babel.config.js index c7f53eaff39a..34a382f130ab 100644 --- a/babel.config.js +++ b/babel.config.js @@ -77,8 +77,8 @@ module.exports = function(api) { "@babel/proposal-object-rest-spread", { useBuiltIns: true, loose: true }, ], - "@babel/plugin-proposal-optional-chaining", - "@babel/plugin-proposal-nullish-coalescing-operator", + ["@babel/plugin-proposal-optional-chaining", { loose: true }], + ["@babel/plugin-proposal-nullish-coalescing-operator", { loose: true }], convertESM ? "@babel/transform-modules-commonjs" : null, ].filter(Boolean),