mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 06:58:25 +00:00
Don't need alias for test-component-index
This commit is contained in:
@@ -91,7 +91,6 @@ module.exports = function (config) {
|
|||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
'matrix-react-sdk': path.resolve('src/index.js'),
|
'matrix-react-sdk': path.resolve('src/index.js'),
|
||||||
'test-component-index': path.resolve('test/test-component-index.js'),
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
devtool: 'inline-source-map',
|
devtool: 'inline-source-map',
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
// this is a handly place to make sure the sdk has been skinned
|
// this is a handly place to make sure the sdk has been skinned
|
||||||
var sdk = require("matrix-react-sdk");
|
var sdk = require("matrix-react-sdk");
|
||||||
sdk.loadSkin(require('test-component-index'));
|
sdk.loadSkin(require('./test-component-index'));
|
||||||
|
|
||||||
var context = require.context('.', true, /-test\.jsx?$/);
|
var context = require.context('.', true, /-test\.jsx?$/);
|
||||||
context.keys().forEach(context);
|
context.keys().forEach(context);
|
||||||
|
|||||||
Reference in New Issue
Block a user