Skip to content

Commit 312c32c

Browse files
fix(deps): update dependency @elastic/eui to v87 (#2145)
* fix(deps): update dependency @elastic/eui to v87 * fix EUI dependency --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
1 parent 8eb4ede commit 312c32c

5 files changed

Lines changed: 110 additions & 89 deletions

File tree

e2e_server/server/webpack.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ module.exports = {
4646
},
4747
},
4848
module: {
49+
// used to skip parsing the EUI used hello-pangea/dnd that contains optional chaining code
50+
noParse: [path.resolve(__dirname, '../../node_modules/@hello-pangea')],
4951
rules: [
5052
{
5153
test: /\.(ttf|eot|woff|woff2|svg)$/,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"@commitlint/cli": "^12.1.1",
6868
"@commitlint/config-conventional": "^12.1.1",
6969
"@elastic/datemath": "^5.0.3",
70-
"@elastic/eui": "^85.0.0",
70+
"@elastic/eui": "^87.2.0",
7171
"@emotion/react": "^11.10.5",
7272
"@emotion/css": "^11.10.5",
7373
"@mdx-js/loader": "^1.6.6",

storybook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@elastic/charts": "*",
1414
"@elastic/datemath": "^5.0.3",
15-
"@elastic/eui": "^85.0.0",
15+
"@elastic/eui": "^87.2.0",
1616
"@emotion/react": "^11.10.5",
1717
"@emotion/css": "^11.10.5",
1818
"luxon": "^1.27.0",

storybook/webpack.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ module.exports = ({ config }) => {
111111
...scssLoaders,
112112
],
113113
});
114+
// used to skip parsing the EUI used hello-pangea/dnd that contains optional chaining code
115+
config.module.noParse = [path.resolve(__dirname, '../node_modules/@hello-pangea')];
114116

115117
config.resolve.extensions.push('.ts', '.tsx');
116118

0 commit comments

Comments
 (0)