Skip to content

Commit d6d33ed

Browse files
committed
[IE11] Kibana doesn't transpile correctly in development mode
Closes: #58684
1 parent 38067da commit d6d33ed

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/optimize/dynamic_dll_plugin/dll_config_model.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ function generateDLL(config) {
8383
include: /[\/\\]node_modules[\/\\]normalize-url[\/\\]/,
8484
exclude: /[\/\\]node_modules[\/\\]normalize-url[\/\\](.+?[\/\\])*node_modules[\/\\]/,
8585
},
86+
// TODO: remove when we drop support for IE11
87+
// We need because query-string is distributed without
88+
// any kind of transpilation
89+
// More info: https://github.com/elastic/kibana/issues/58684
90+
{
91+
test: /\.js$/,
92+
include: /[\/\\]node_modules[\/\\]query-string[\/\\]/,
93+
},
8694
],
8795
// Self calling function with the equivalent logic
8896
// from maybeAddCacheLoader one from base optimizer

0 commit comments

Comments
 (0)