mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #4033 from vector-im/dbkr/dont_put_src_in_resolve_root
Don't include src in the test resolve root
This commit is contained in:
commit
0db118f766
@ -47,7 +47,6 @@ webpack_config.module.noParse.push(/sinon\/pkg\/sinon\.js$/);
|
||||
webpack_config.resolve.alias['sinon'] = 'sinon/pkg/sinon.js';
|
||||
|
||||
webpack_config.resolve.root = [
|
||||
path.resolve('./src'),
|
||||
path.resolve('./test'),
|
||||
];
|
||||
|
||||
|
@ -5,4 +5,4 @@
|
||||
*/
|
||||
|
||||
var sdk = require('matrix-react-sdk');
|
||||
sdk.loadSkin(require('component-index'));
|
||||
sdk.loadSkin(require('../src/component-index'));
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
var notifications = require('notifications');
|
||||
var notifications = require('../../../src/notifications');
|
||||
|
||||
var ContentRules = notifications.ContentRules;
|
||||
var PushRuleVectorState = notifications.PushRuleVectorState;
|
||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
var notifications = require('notifications');
|
||||
var notifications = require('../../../src/notifications');
|
||||
|
||||
var prvs = notifications.PushRuleVectorState;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user