mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
a978a6734f
There's a bunch of generated files that webpack relies on to work, and Karma works off webpack. To make both happy we've added a new `build:genfiles` script which takes care of this for us. We also have to install and build our other layers to get the same effect (like generating the react-sdk's component index, while we still have one). This commit also fixes all the imports in the tests because they were just wrong. They should have been caught in the ES6ification earlier, but were missed.
9 lines
185 B
JavaScript
9 lines
185 B
JavaScript
/*
|
|
* skin-sdk.js
|
|
*
|
|
* Skins the react-sdk with the vector components
|
|
*/
|
|
|
|
import * as sdk from "matrix-react-sdk";
|
|
import * as skin from "../src/component-index";
|
|
sdk.loadSkin(skin);
|