From bfe89103a74be5cfed153315c51e96ab312464a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Fri, 11 Dec 2020 21:12:38 +0100 Subject: [PATCH] Swap defaults --- .../babel-plugin-transform-computed-properties/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-plugin-transform-computed-properties/src/index.js b/packages/babel-plugin-transform-computed-properties/src/index.js index 5f80fa8db258..4f33dd8cf726 100644 --- a/packages/babel-plugin-transform-computed-properties/src/index.js +++ b/packages/babel-plugin-transform-computed-properties/src/index.js @@ -5,7 +5,7 @@ export default declare((api, options) => { api.assertVersion(7); const setComputedProperties = - options.loose || api.assumption?.("setComputedProperties"); + api.assumption("setComputedProperties") ?? options.loose; const pushComputedProps = setComputedProperties ? pushComputedPropsLoose