mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
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.
This commit is contained in:
parent
e1f9e9a8f8
commit
0bcb1d18ce
@ -18,6 +18,9 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
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 React from 'react';
|
||||||
import PlatformPeg from 'matrix-react-sdk/src/PlatformPeg';
|
import PlatformPeg from 'matrix-react-sdk/src/PlatformPeg';
|
||||||
import { _td, newTranslatableError } from 'matrix-react-sdk/src/languageHandler';
|
import { _td, newTranslatableError } from 'matrix-react-sdk/src/languageHandler';
|
||||||
|
Loading…
Reference in New Issue
Block a user