Skip to content

Instantly share code, notes, and snippets.

@spalger
Created April 30, 2019 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spalger/af3dd51b25ffcb259624558136ced757 to your computer and use it in GitHub Desktop.
Save spalger/af3dd51b25ffcb259624558136ced757 to your computer and use it in GitHub Desktop.
diff --git a/src/optimize/base_optimizer.js b/src/optimize/base_optimizer.js
index 79a116d4c6..9e859b9e37 100644
--- a/src/optimize/base_optimizer.js
+++ b/src/optimize/base_optimizer.js
@@ -240,6 +240,11 @@ export default class BaseOptimizer {
test,
include: /[\/\\]node_modules[\/\\]x-pack[\/\\]/,
exclude: /[\/\\]node_modules[\/\\]x-pack[\/\\](.+?[\/\\])*node_modules[\/\\]/,
+ },
+ // TODO: remove when we drop support for IE11
+ {
+ test,
+ include: /[\/\\]node_modules[\/\\]normalize-url[\/\\]/
}
];
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment