From 4738dc9da2f5f45d93a0a23c5e3e03ae959067ad Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Fri, 29 Jul 2022 11:11:11 +0200 Subject: [PATCH] Add webpack react-sdk resolve alias (#22947) --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index f22ac29c48..870c3a0568 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -187,8 +187,9 @@ module.exports = (env, argv) => { "react": path.resolve(__dirname, 'node_modules/react'), "react-dom": path.resolve(__dirname, 'node_modules/react-dom'), - // same goes for js-sdk - we don't need two copies. + // Same goes for js/react-sdk - we don't need two copies. "matrix-js-sdk": path.resolve(__dirname, 'node_modules/matrix-js-sdk'), + "matrix-react-sdk": path.resolve(__dirname, 'node_modules/matrix-react-sdk'), // and prop-types and sanitize-html "prop-types": path.resolve(__dirname, 'node_modules/prop-types'), "sanitize-html": path.resolve(__dirname, 'node_modules/sanitize-html'),