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.
pull/21282/head
Travis Ralston 2022-03-24 22:23:17 -06:00
parent e1f9e9a8f8
commit 0bcb1d18ce
1 changed files with 3 additions and 0 deletions

View File

@ -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';