From f0d5316b82a2faefdad17e907876ae39d4aec724 Mon Sep 17 00:00:00 2001 From: Suguru Inatomi Date: Thu, 9 Dec 2021 18:12:21 +0900 Subject: [PATCH] Remove IE 11 from ES6 modules transpilation targets --- lib/core-common/src/utils/es6Transpiler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core-common/src/utils/es6Transpiler.ts b/lib/core-common/src/utils/es6Transpiler.ts index 5b6c45900656..a00a173c70e0 100644 --- a/lib/core-common/src/utils/es6Transpiler.ts +++ b/lib/core-common/src/utils/es6Transpiler.ts @@ -50,7 +50,7 @@ export const es6Transpiler: () => RuleSetRule = () => { shippedProposals: true, modules: false, loose: true, - targets: 'defaults', + targets: 'defaults, not ie 11', }, ], require.resolve('@babel/preset-react'),