Don't need alias for test-component-index
This commit is contained in:
parent
e428f48269
commit
7e1e2347b5
2 changed files with 1 additions and 2 deletions
|
@ -91,7 +91,6 @@ module.exports = function (config) {
|
|||
resolve: {
|
||||
alias: {
|
||||
'matrix-react-sdk': path.resolve('src/index.js'),
|
||||
'test-component-index': path.resolve('test/test-component-index.js'),
|
||||
},
|
||||
},
|
||||
devtool: 'inline-source-map',
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
// this is a handly place to make sure the sdk has been skinned
|
||||
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?$/);
|
||||
context.keys().forEach(context);
|
||||
|
|
Loading…
Reference in a new issue