From 16aaf7227eb3b6eeeeeffd77c66813ac9660d70d Mon Sep 17 00:00:00 2001 From: Vadim Ogievetsky Date: Thu, 31 Oct 2019 21:03:05 -0700 Subject: [PATCH] Web console: work in IE11 (#8804) * fix IE11 * also support flexbox --- web-console/babel.config.js | 5 ++++- .../src/components/header-bar/header-bar.tsx | 8 +++++++- web-console/src/entry.scss | 5 ----- web-console/webpack.config.js | 17 ++++++++++++----- 4 files changed, 23 insertions(+), 12 deletions(-) diff --git a/web-console/babel.config.js b/web-console/babel.config.js index 941e4704701f..c425c2c9d3ec 100644 --- a/web-console/babel.config.js +++ b/web-console/babel.config.js @@ -25,7 +25,10 @@ module.exports = function (api) { { "useBuiltIns": "entry", "corejs": 3, - "forceAllTransforms": true + "forceAllTransforms": true, + "targets": { + "ie": "11" + } } ] ]; diff --git a/web-console/src/components/header-bar/header-bar.tsx b/web-console/src/components/header-bar/header-bar.tsx index 3a87b40812b0..e81ee12743a2 100644 --- a/web-console/src/components/header-bar/header-bar.tsx +++ b/web-console/src/components/header-bar/header-bar.tsx @@ -61,7 +61,13 @@ export type HeaderActiveTab = function Logo() { return (
- + 1%', 'last 3 versions', 'Firefox ESR', 'Opera 12.1', 'ie 11'], }), ], },