From 006bd66bd230af83a3a06d91b30c29e0ca81da4e Mon Sep 17 00:00:00 2001 From: Katy DeCorah Date: Wed, 24 Jul 2019 15:31:46 -0400 Subject: [PATCH] [docs] fix errors on IE11 caused by dr-ui dependencies (#8544) * Update batfish.config.js * update dr-ui --- batfish.config.js | 6 +++++- package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/batfish.config.js b/batfish.config.js index 3567c568d38..40fa62c24b3 100644 --- a/batfish.config.js +++ b/batfish.config.js @@ -71,7 +71,11 @@ module.exports = () => { } }, devBrowserslist: false, - babelInclude: ['documentation'] + babelInclude: [ + 'documentation', + 'debounce-fn', + 'mimic-fn' + ] }; // Local builds treat the `dist` directory as static assets, allowing you to test examples against the diff --git a/package.json b/package.json index 263a7ab4e9f..2860d2cbc60 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@mapbox/appropriate-images": "^2.0.0", "@mapbox/appropriate-images-react": "^1.0.0", "@mapbox/batfish": "1.9.8", - "@mapbox/dr-ui": "0.19.0", + "@mapbox/dr-ui": "0.19.1", "@mapbox/flow-remove-types": "^1.3.0-await.upstream.2", "@mapbox/gazetteer": "^3.1.2", "@mapbox/mapbox-gl-rtl-text": "^0.2.1", diff --git a/yarn.lock b/yarn.lock index 8f7db480323..a79804f432c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1162,10 +1162,10 @@ webpack-merge "^4.1.2" worker-farm "^1.6.0" -"@mapbox/dr-ui@0.19.0": - version "0.19.0" - resolved "https://registry.yarnpkg.com/@mapbox/dr-ui/-/dr-ui-0.19.0.tgz#cd5a89f91370633e1eda697b9f6147d8991b1141" - integrity sha512-bRA6dQUtJ582Eja9cfJ10oM4C+Kb9rT7KYYcT2yku/QsqchSMceW7eJekzG4fffU7PL49+7Iwnzxa0QiMLmxKQ== +"@mapbox/dr-ui@0.19.1": + version "0.19.1" + resolved "https://registry.yarnpkg.com/@mapbox/dr-ui/-/dr-ui-0.19.1.tgz#97806b96d7eae5458ec7a03b750a312ae4d47c82" + integrity sha512-B7+W4mNogqIF2WWR3oHD0y6aHELl6TVltNcbuXuTpGkuqQFFovqEbS/QytIx3yujgar+RdJTSMOvmZJbe402aQ== dependencies: "@elastic/react-search-ui" "^1.0.0" "@elastic/react-search-ui-views" "^1.0.0"