Merge remote-tracking branch 'origin/develop' into aviraldg-electron

This commit is contained in:
David Baker
2016-11-02 13:57:38 +00:00
6 changed files with 77 additions and 14 deletions
+9
View File
@@ -105,3 +105,12 @@ module.exports = {
],
devtool: 'source-map'
};
// olm is an optional dependency. Ignore it if it's not installed, to avoid a
// scary-looking error.
try {
require('olm');
} catch (e) {
console.log("Olm is not installed; not shipping it");
delete(module.exports.entry["olm"]);
}