Merge branch 'dbkr/dont_put_src_in_resolve_root' into dbkr/translations

This commit is contained in:
David Baker 2017-05-26 14:02:44 +01:00
commit 0ab9486829
4 changed files with 3 additions and 4 deletions

View File

@ -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.alias['sinon'] = 'sinon/pkg/sinon.js';
webpack_config.resolve.root = [ webpack_config.resolve.root = [
path.resolve('./src'),
path.resolve('./test'), path.resolve('./test'),
]; ];

View File

@ -5,4 +5,4 @@
*/ */
var sdk = require('matrix-react-sdk'); var sdk = require('matrix-react-sdk');
sdk.loadSkin(require('component-index')); sdk.loadSkin(require('../src/component-index'));

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
var notifications = require('notifications'); var notifications = require('../../../src/notifications');
var ContentRules = notifications.ContentRules; var ContentRules = notifications.ContentRules;
var PushRuleVectorState = notifications.PushRuleVectorState; var PushRuleVectorState = notifications.PushRuleVectorState;

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
var notifications = require('notifications'); var notifications = require('../../../src/notifications');
var prvs = notifications.PushRuleVectorState; var prvs = notifications.PushRuleVectorState;