From 0bcb1d18cefc3393af927599748fa5fa9b74a89c Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 24 Mar 2022 22:23:17 -0600 Subject: [PATCH] Step 10.1: Ensure the js-sdk browser bundle gets pulled We no longer have implicit imports which would have called this path, so manually call it. We have to disable lint as it doesn't like us doing this, but we only end up with a single entry point. --- src/vector/app.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vector/app.tsx b/src/vector/app.tsx index b887bef9f8..1c38a2c84a 100644 --- a/src/vector/app.tsx +++ b/src/vector/app.tsx @@ -18,6 +18,9 @@ See the License for the specific language governing permissions and limitations under the License. */ +// To ensure we load the browser-request version +import "matrix-js-sdk"; // eslint-disable-line no-restricted-imports + import React from 'react'; import PlatformPeg from 'matrix-react-sdk/src/PlatformPeg'; import { _td, newTranslatableError } from 'matrix-react-sdk/src/languageHandler';