From d6d33edb86fdd4621cecb2fbbf43d6f0417256c8 Mon Sep 17 00:00:00 2001 From: Alexey Antonov Date: Thu, 27 Feb 2020 23:27:38 +0300 Subject: [PATCH] [IE11] Kibana doesn't transpile correctly in development mode Closes: #58684 --- src/optimize/dynamic_dll_plugin/dll_config_model.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/optimize/dynamic_dll_plugin/dll_config_model.js b/src/optimize/dynamic_dll_plugin/dll_config_model.js index 9ca6071b8f5158..b26e11738424b1 100644 --- a/src/optimize/dynamic_dll_plugin/dll_config_model.js +++ b/src/optimize/dynamic_dll_plugin/dll_config_model.js @@ -83,6 +83,14 @@ function generateDLL(config) { include: /[\/\\]node_modules[\/\\]normalize-url[\/\\]/, exclude: /[\/\\]node_modules[\/\\]normalize-url[\/\\](.+?[\/\\])*node_modules[\/\\]/, }, + // TODO: remove when we drop support for IE11 + // We need because query-string is distributed without + // any kind of transpilation + // More info: https://github.com/elastic/kibana/issues/58684 + { + test: /\.js$/, + include: /[\/\\]node_modules[\/\\]query-string[\/\\]/, + }, ], // Self calling function with the equivalent logic // from maybeAddCacheLoader one from base optimizer