diff --git a/src/bundle.js b/src/bundle.js index bd84647..91386b4 100644 --- a/src/bundle.js +++ b/src/bundle.js @@ -16,6 +16,9 @@ const os = require('os'); var bsdiff, hdiff, diff; try { bsdiff = require('node-bsdiff').diff; +} catch (e) {} + +try { hdiff = require('node-hdiffpatch').diff; } catch (e) {}