diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-05-27 18:43:11 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-05-27 18:43:34 +0200 |
commit | d381226f21f1d0605d06ccae56c38ab6b12f88f0 (patch) | |
tree | d431cd99d34227c321daa786a33499cc41a8806b /gulpfile.js | |
parent | 67a50513219dd8536ce2d7888a99cbfc3c3cabcb (diff) | |
download | wallet-core-d381226f21f1d0605d06ccae56c38ab6b12f88f0.tar.xz |
Simplify loading of the emscripten lib.
This removes an ugly hack and makes it possible to access the emscripten
compiled library from within nodejs test cases more easily.
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js index ec8321dc0..568300614 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -53,7 +53,7 @@ const po2json = require("po2json"); const paths = { ts: { src: [ - "src/**/*.{ts,tsx}", + "src/**/*.{ts,tsx,js}", "!src/**/*-test*.ts", ], decl: [ @@ -112,6 +112,8 @@ const tsBaseArgs = { strict: true, outDir: "build/src/", noImplicitAny: true, + allowJs: true, + checkJs: true, }; |