Update to webpack 2.x

This commit is contained in:
Farkas J??zsef
2017-02-04 20:37:05 +01:00
committed by József Farkas
parent 908c7e1e8c
commit 67c8b12eac
8 changed files with 28 additions and 42 deletions

View File

@@ -37,8 +37,8 @@ export class KeypressTabComponent extends Tab implements OnChanges {
id: '0',
text: 'None'
}];
this.scanCodeGroups = this.scanCodeGroups.concat(require('json!./scancodes.json'));
this.longPressGroups = require('json!./longPress.json');
this.scanCodeGroups = this.scanCodeGroups.concat(require('json-loader!./scancodes.json'));
this.longPressGroups = require('json-loader!./longPress.json');
this.leftModifierSelects = Array(this.leftModifiers.length).fill(false);
this.rightModifierSelects = Array(this.rightModifiers.length).fill(false);
this.scanCode = 0;