From 1edd3f0c9ea67b1ad17274eec5509b5fbb8ec8d4 Mon Sep 17 00:00:00 2001 From: gubbins Date: Sat, 19 Oct 2024 02:09:22 +1100 Subject: [PATCH] Add emotion/react dependency (#211) When building a plugin from this template, I found it had a missing dependency on `emotion/react` as soon as I hit a line creating a React component. Seems worth adding to the `package.json`. I picked a version of similar age to `emotion/core` and all seemed well. --- webapp/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/package.json b/webapp/package.json index 5a93df5..f007e28 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -25,6 +25,7 @@ "@babel/runtime": "7.16.7", "@emotion/babel-preset-css-prop": "11.2.0", "@emotion/core": "10.3.1", + "@emotion/react": "11.9.0", "@mattermost/types": "6.7.0-0", "@testing-library/jest-dom": "5.16.1", "@types/babel__core": "7.1.18",