aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-29 02:44:28 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-29 02:44:28 +0200
commit3f01c9490bd6932aa991ecd86e8aaacecb911efc (patch)
tree2f5d94feca2ac56110049c09614c0274970c6812 /src
parent5b90311befce19a4afd1fd778e5f23674e7b2eb1 (diff)
downloadwallet-core-3f01c9490bd6932aa991ecd86e8aaacecb911efc.tar.xz
adjust webpack config to exclude node modules
Diffstat (limited to 'src')
-rw-r--r--src/crypto/emscLoader.js2
-rw-r--r--src/webex/notify.ts2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/crypto/emscLoader.js b/src/crypto/emscLoader.js
index 190f007f1..eee2c8000 100644
--- a/src/crypto/emscLoader.js
+++ b/src/crypto/emscLoader.js
@@ -35,7 +35,7 @@ export function getLib() {
// Make sure that TypeScript doesn't try
// to check the taler-emscripten-lib.
const indirectRequire = require;
- const g = global as any;
+ const g = global;
// unavoidable hack, so that emscripten detects
// the environment as node even though importScripts
// is present.
diff --git a/src/webex/notify.ts b/src/webex/notify.ts
index 23e73d145..c743240a4 100644
--- a/src/webex/notify.ts
+++ b/src/webex/notify.ts
@@ -27,6 +27,8 @@
*/
import URI = require("urijs");
+import * as wxApi from "./wxApi";
+
declare var cloneInto: any;
const PROTOCOL_VERSION = 1;