From 9ca697382e9217458747142b66aa9a70fdf4480a Mon Sep 17 00:00:00 2001 From: gubbins Date: Fri, 18 Oct 2024 08:20:54 +1100 Subject: [PATCH] Add emotion/react dependency 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",