Skip to content

Commit

Permalink
[IE11] Kibana doesn't transpile correctly in development mode
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwizp committed Feb 28, 2020
1 parent 38067da commit d6d33ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/optimize/dynamic_dll_plugin/dll_config_model.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6d33ed

Please sign in to comment.