From 003fc7cdf41bf6f960fc5b63d598ad60b3ef7bc1 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 1 Dec 2022 11:35:19 +0000 Subject: [PATCH] Remove prop-types (#23881) --- package.json | 1 - webpack.config.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 84bccfe3f0..7fc09e3203 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,6 @@ "matrix-js-sdk": "github:matrix-org/matrix-js-sdk#develop", "matrix-react-sdk": "github:matrix-org/matrix-react-sdk#develop", "matrix-widget-api": "^1.1.1", - "prop-types": "^15.7.2", "react": "17.0.2", "react-dom": "17.0.2", "sanitize-html": "^2.3.2", diff --git a/webpack.config.js b/webpack.config.js index 7db8d3b626..9ecb2ad5be 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -196,8 +196,7 @@ module.exports = (env, argv) => { // 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'), + // and sanitize-html "sanitize-html": path.resolve(__dirname, 'node_modules/sanitize-html'), // Define a variable so the i18n stuff can load